mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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:
|
||
|---|---|---|
| .. | ||
| dsi_phy_7nm.c | ||
| dsi_phy_10nm.c | ||
| dsi_phy_14nm.c | ||
| dsi_phy_20nm.c | ||
| dsi_phy_28nm_8960.c | ||
| dsi_phy_28nm.c | ||
| dsi_phy.c | ||
| dsi_phy.h | ||