diff options
author | Colin Ian King <[email protected]> | 2021-04-15 09:47:23 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-04-24 14:36:50 +0200 |
commit | 2ce4fd5a0039b805a6716779e8669dd69a20ad60 (patch) | |
tree | 5063d83b17f9329b0aa4614695f8378163ee8198 /scripts/gdb/linux/timerlist.py | |
parent | b2f0ca00e6b34bd57c9298a869ea133699e8ec39 (diff) |
can: etas_es58x: Fix missing null check on netdev pointer
There is an assignment to *netdev that is that can potentially be null
but the null check is checking netdev and not *netdev as intended. Fix
this by adding in the missing * operator.
Fixes: 8537257874e9 ("can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces")
Link: https://lore.kernel.org/r/[email protected]
Addresses-Coverity: ("Dereference before null check")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Vincent Mailhol <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions