mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
scsi: megaraid_sas: Make poll_aen_lock static
Fix sparse warning: drivers/scsi/megaraid/megaraid_sas_base.c:187:12: warning: symbol 'poll_aen_lock' was not declared. Should it be static? Link: https://lore.kernel.org/r/20191125144454.22680-1-yuehaibing@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
a35989a072
commit
73374b39b0
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ static bool support_nvme_encapsulation;
|
||||||
static bool support_pci_lane_margining;
|
static bool support_pci_lane_margining;
|
||||||
|
|
||||||
/* define lock for aen poll */
|
/* define lock for aen poll */
|
||||||
spinlock_t poll_aen_lock;
|
static spinlock_t poll_aen_lock;
|
||||||
|
|
||||||
extern struct dentry *megasas_debugfs_root;
|
extern struct dentry *megasas_debugfs_root;
|
||||||
extern void megasas_init_debugfs(void);
|
extern void megasas_init_debugfs(void);
|
||||||
|
|
Loading…
Reference in a new issue