summary refs log tree commit diff
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-04-20 19:54:48 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-24 18:11:22 -0400
commit144b139c96200c51248b8701a1ef4a6bebd3dc8c (patch)
tree9a1627f8e648ee9d5259e59a69139a742f30d429 /drivers/scsi/bnx2fc
parent45c80be614b094459f2c699353080e4f8059f610 (diff)
downloadlinux-144b139c96200c51248b8701a1ef4a6bebd3dc8c.tar.gz
scsi: pmcraid: fix minor sparse warnings
pmcraid_minor is only used in this one file and should be 'static' as suggested
by sparse:

drivers/scsi/pmcraid.c:80:1: warning: symbol 'pmcraid_minor' was not declared. Should it be static?

In Linux coding style, a literal '0' integer should not be used to represent
a NULL pointer:

drivers/scsi/pmcraid.c:348:29: warning: Using plain integer as NULL pointer
drivers/scsi/pmcraid.c:4824:49: warning: Using plain integer as NULL pointer

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions