summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVenkatesh Yadav Abbarapu <[email protected]>2022-09-29 10:26:05 +0530
committerMichal Simek <[email protected]>2022-10-05 11:36:54 +0200
commit9a082d2548de523c37f035cee7e0c280bad62bee (patch)
tree3db8ae16d13f07066182fd11ebfe6f74f0a694cf /scripts
parente1a193b95177fb5325c07fa85810f640a8ed8687 (diff)
net: Fix static checker warnings
Here are the smatch warning messages: drivers/net/xilinx_axi_emac.c:324 axiemac_phy_init() error: 'phydev' dereferencing possible ERR_PTR() drivers/net/zynq_gem.c:340 zynq_phy_init() error: 'priv->phydev' dereferencing possible ERR_PTR() Fix by adding error checking before dereferencing the pointer. Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions