Re: [PATCH 4/4] scsi: pmcraid: fix minor sparse warnings

2017-04-23 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH 4/4] scsi: pmcraid: fix minor sparse warnings

2017-04-20 Thread Arnd Bergmann
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: