Re: [PATCH] scsi: mpt3sas: make mpt3sas_dev_attrs static

From: Martin K. Petersen
Date: Wed Oct 27 2021 - 00:00:39 EST


On Tue, 19 Oct 2021 18:27:19 +0800, Jiapeng Chong wrote:

> From: chongjiapeng <jiapeng.chong@xxxxxxxxxxxxxxxxx>
>
> This symbol is not used outside of mpt3sas_ctl.c, so marks 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?
>
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/1] scsi: mpt3sas: make mpt3sas_dev_attrs static
https://git.kernel.org/mkp/scsi/c/0ae8f4785107

--
Martin K. Petersen Oracle Linux Engineering