mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
b097efba95
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 |