diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2014-01-29 21:58:25 +0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-01-29 23:23:23 +0400 |
commit | 73615c8669ef1c497c942cae0d5079b95824332a (patch) | |
tree | 7af0322835373a0ffdf6e5853ed5b1c377761745 /net/can | |
parent | bb5ecb0c63ac88b6f39029f75c47f4be4e352e8d (diff) | |
download | linux-73615c8669ef1c497c942cae0d5079b95824332a.tar.xz |
can: janz-ican3: fix uninitialized variable warnings
Analysis of the code shows that the struct ican3_msg variable cannot be
used uninitialized. Error conditions are checked and the loop terminates
before calling the ican3_handle_message() function with an uninitialized
value.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions