Skip to content

Commit

Permalink
scsi: megaraid_sas: Make poll_aen_lock static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and Martin K. Petersen committed Nov 27, 2019
1 parent a35989a commit 73374b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/megaraid/megaraid_sas_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 73374b3

Please sign in to comment.