Commit 7b10db55 authored by YueHaibing's avatar YueHaibing Committed by Martin K. Petersen

scsi: lpfc: Make lpfc_debugfs_ras_log_data static

Fix sparse warning:

drivers/scsi/lpfc/lpfc_debugfs.c:2083:1: warning:
 symbol 'lpfc_debugfs_ras_log_data' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20191028132556.16272-1-yuehaibing@huawei.comReported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarJames Smart <james.smart@broadcom.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c3e5aac3
...@@ -2079,8 +2079,8 @@ lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf, ...@@ -2079,8 +2079,8 @@ lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf,
} }
#endif #endif
int static int lpfc_debugfs_ras_log_data(struct lpfc_hba *phba,
lpfc_debugfs_ras_log_data(struct lpfc_hba *phba, char *buffer, int size) char *buffer, int size)
{ {
int copied = 0; int copied = 0;
struct lpfc_dmabuf *dmabuf, *next; struct lpfc_dmabuf *dmabuf, *next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment