diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-01-06 05:30:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-11 18:31:40 +0300 |
commit | 392f7eb3946ab3780b931af723033e19f82c9134 (patch) | |
tree | 11bc149082177b0ee2ddbbc2dc910aa2216f9638 /drivers/pinctrl | |
parent | d5839861585bae91d37ae34bc88f81b43156f073 (diff) | |
download | linux-392f7eb3946ab3780b931af723033e19f82c9134.tar.xz |
drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
[ Upstream commit afe4cb96153a0d8003e4e4ebd91b5c543e10df84 ]
Add check for the return value of alloc_ordered_workqueue as it may return
NULL pointer and cause NULL pointer dereference in `hdmi_hdcp.c` and
`hdmi_hpd.c`.
Fixes: c6a57a50ad56 ("drm/msm/hdmi: add hdmi hdcp support (V3)")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/517211/
Link: https://lore.kernel.org/r/20230106023011.3985-1-jiasheng@iscas.ac.cn
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions