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
|
@ -199,7 +199,7 @@ static bool support_nvme_encapsulation;
|
|||
static bool support_pci_lane_margining;
|
||||
|
||||
/* define lock for aen poll */
|
||||
spinlock_t poll_aen_lock;
|
||||
static spinlock_t poll_aen_lock;
|
||||
|
||||
extern struct dentry *megasas_debugfs_root;
|
||||
extern void megasas_init_debugfs(void);
|
||||
|
|
Loading…
Reference in New Issue