diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-20 19:54:48 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-25 00:11:22 +0200 |
commit | 144b139c96200c51248b8701a1ef4a6bebd3dc8c (patch) | |
tree | 9a1627f8e648ee9d5259e59a69139a742f30d429 /Documentation/infiniband | |
parent | scsi: pmcraid: fix endianess sparse annotations (diff) | |
download | linux-144b139c96200c51248b8701a1ef4a6bebd3dc8c.tar.xz linux-144b139c96200c51248b8701a1ef4a6bebd3dc8c.zip |
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 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions