Searched hist:"0 ae8f4785107eb7f63ac17d86d894be681427dd2" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | diff 0ae8f4785107eb7f63ac17d86d894be681427dd2 Tue Oct 19 12:27:19 CEST 2021 Jiapeng Chong <jiapeng.chong@linux.alibaba.com> scsi: mpt3sas: Make mpt3sas_dev_attrs static
This symbol is not used outside of mpt3sas_ctl.c, mark it static.
Fixes the following sparse warning:
drivers/scsi/mpt3sas/mpt3sas_ctl.c:3988:18: warning: symbol 'mpt3sas_dev_attrs' was not declared. Should it be static?
Link: https://lore.kernel.org/r/1634639239-2892-1-git-send-email-jiapeng.chong@linux.alibaba.com Fixes: 1bb3ca27d2ca ("scsi: mpt3sas: Switch to attribute groups") Reported-by: Abaci Robot <abaci@linux.alibaba.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|