commit 2133c4fc8e1348dcb752f267a143fe2254613b34 upstream.
The initialization of pointer dev dereferences pointer edp before
edp is null checked, so there is a potential null pointer deference
issue. Fix this by only dereferencing edp after edp has been null
checked.
Addresses-Coverity: ("Dereference before null check")
Fixes:
|
||
|---|---|---|
| .. | ||
| edp.c | ||
| edp.h | ||
| edp.xml.h | ||
| edp_aux.c | ||
| edp_bridge.c | ||
| edp_connector.c | ||
| edp_ctrl.c | ||
| edp_phy.c | ||