The function performs a check on the "phy" input parameter, however, it
is used before the check.
Initialize the "dev" variable after the sanity check to avoid a possible
NULL pointer dereference.
Fixes:
|
||
---|---|---|
.. | ||
phy | ||
dsi_cfg.c | ||
dsi_cfg.h | ||
dsi_host.c | ||
dsi_manager.c | ||
dsi_phy_5nm.xml.h | ||
dsi_phy_7nm.xml.h | ||
dsi_phy_10nm.xml.h | ||
dsi_phy_14nm.xml.h | ||
dsi_phy_20nm.xml.h | ||
dsi_phy_28nm_8960.xml.h | ||
dsi_phy_28nm.xml.h | ||
dsi.c | ||
dsi.h | ||
dsi.xml.h | ||
mmss_cc.xml.h | ||
sfpb.xml.h |