Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] aacraid: linit.c make aac_show_serial_number static

drivers/scsi/aacraid/linit.c:865:9: warning: symbol 'aac_show_serial_number' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Harvey Harrison and committed by
James Bottomley
13a17fde a4c38cfa

+1 -1
+1 -1
drivers/scsi/aacraid/linit.c
··· 862 862 return len; 863 863 } 864 864 865 - ssize_t aac_show_serial_number(struct device *device, 865 + static ssize_t aac_show_serial_number(struct device *device, 866 866 struct device_attribute *attr, char *buf) 867 867 { 868 868 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;