mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
![]() Currently there is a null pointer check for hdmi_phy that implies it
may be null, however a dev_err messages dereferences this potential null
pointer. Avoid a null pointer dereference by only emitting the dev_err
message if hdmi_phy is non-null. It is a moot point if the error message
needs to be printed at all, but since this is a relatively new piece of
code it may be useful to keep the message in for the moment in case there
are unforseen errors that need to be reported.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
phy-mtk-hdmi-mt2701.c | ||
phy-mtk-hdmi-mt8173.c | ||
phy-mtk-hdmi.c | ||
phy-mtk-hdmi.h | ||
phy-mtk-tphy.c | ||
phy-mtk-ufs.c | ||
phy-mtk-xsphy.c |