summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-04 17:03:58 +0100
committerPeng Fan <[email protected]>2025-08-27 15:39:57 +0800
commit270798a4209aeb23fce72ebf10e62630f474e431 (patch)
tree94d6d36a4bbbe8e5b67a4e3947dbae910d69e327 /scripts/const_structs.checkpatch
parent44d321f0092a42b2295bd6eac41199604cf7d8c9 (diff)
net: fm: NULL check dev before dereference
In fm_eth_bind there is a dereference of dev before it is NULL checked. Add a NULL check before the first dereference and remove a later NULL check that is now redundant. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions