diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2017-01-16 00:50:57 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-01 03:38:35 +0100 |
commit | 4ab2a7878fa56ae7581bf8a94049b355c730aef0 (patch) | |
tree | b6681085d2e6ae0a8cc3321ba5472a0a69416b5b /samples/kdb | |
parent | scsi: ncr5380: Reduce #include files (diff) | |
download | linux-4ab2a7878fa56ae7581bf8a94049b355c730aef0.tar.xz linux-4ab2a7878fa56ae7581bf8a94049b355c730aef0.zip |
scsi: ncr5380: Resolve various static checker warnings
Avoid various warnings from "make C=1" by annotating a couple of
unlock-then-lock sequences, replacing a zero with NULL and correcting
some type casts.
Also avoid a warning from "make W=1" by adding braces.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions