Commit 2494ebe1 authored by Jason Yan's avatar Jason Yan Committed by Martin K. Petersen
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 5c2ef014
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -669,7 +669,7 @@ static const char *phy_event_name(u32 event_code)
		phy_state_name(state), phy_event_name(code), 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;
	u32 val;