diff options
| author | Jimmy Assarsson <[email protected]> | 2018-08-06 15:14:50 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2018-11-09 17:19:57 +0100 |
| commit | 95217260649aa504eb5d4a0d50959ca4e67c8f96 (patch) | |
| tree | 0db26e8a0ee4d63c0a8438360a65972187be2d14 /tools/perf/scripts/python/netdev-times.py | |
| parent | a43608fa77213ad5ac5f75994254b9f65d57cfa0 (diff) | |
can: kvaser_usb: Fix potential uninitialized variable use
If alloc_can_err_skb() fails, cf is never initialized.
Move assignment of cf inside check.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jimmy Assarsson <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions