lkml.org 
[lkml]   [2021]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: mpt3sas: make mpt3sas_dev_attrs static
Date
On Tue, 19 Oct 2021 18:27:19 +0800, Jiapeng Chong wrote:

> From: chongjiapeng <jiapeng.chong@linux.alibaba.com>
>
> 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

\
 
 \ /
  Last update: 2021-10-27 06:01    [W:0.202 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site