diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-09-15 10:40:00 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-16 03:30:48 +0200 |
commit | 2494ebe1b3f73c01b92b7bf623de261e7bd8677f (patch) | |
tree | 22feae55ca31eaa36b538763cfd445dbb077c102 /drivers | |
parent | scsi: bnx2fc: Make a bunch of symbols static in bnx2fc_fcoe.c (diff) | |
download | linux-2494ebe1b3f73c01b92b7bf623de261e7bd8677f.tar.xz linux-2494ebe1b3f73c01b92b7bf623de261e7bd8677f.zip |
scsi: isci: Make scu_link_layer_set_txcomsas_timeout() static
This addresses the following sparse warning:
drivers/scsi/isci/phy.c:672:6: warning: symbol
'scu_link_layer_set_txcomsas_timeout' was not declared. Should it be
static?
Link: https://lore.kernel.org/r/20200915084000.2826741-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/isci/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c index 7f9b3f20e5e4..251d763130d4 100644 --- a/drivers/scsi/isci/phy.c +++ b/drivers/scsi/isci/phy.c @@ -669,7 +669,7 @@ static const char *phy_event_name(u32 event_code) phy_state_name(state), phy_event_name(code), code) -void scu_link_layer_set_txcomsas_timeout(struct isci_phy *iphy, u32 timeout) +static void scu_link_layer_set_txcomsas_timeout(struct isci_phy *iphy, u32 timeout) { u32 val; |