This code was recently refactored in commit and now the "hdmi" pointer
can't be NULL. Checking for NULL leads to a Smatch warning:
drivers/gpu/drm/msm/hdmi/hdmi.c:141 msm_hdmi_init()
warn: variable dereferenced before check 'hdmi' (see line 119)
Fixes:
|
||
---|---|---|
.. | ||
hdmi.c | ||
hdmi.h | ||
hdmi.xml.h | ||
hdmi_audio.c | ||
hdmi_bridge.c | ||
hdmi_hdcp.c | ||
hdmi_hpd.c | ||
hdmi_i2c.c | ||
hdmi_phy.c | ||
hdmi_phy_8x60.c | ||
hdmi_phy_8x74.c | ||
hdmi_phy_8960.c | ||
hdmi_phy_8996.c | ||
hdmi_pll_8960.c | ||
qfprom.xml.h |