[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180109075158.GA143587@lkp-ib03>
Date: Tue, 9 Jan 2018 15:51:58 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Jason Yan <yanaijie@...wei.com>
Cc: kbuild-all@...org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Hannes Reinecke <hare@...e.com>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
Yijing Wang <wangyijing@...wei.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH mkp-scsi] scsi: libsas: sas_destruct_ports() can be static
Fixes: 99cfdc04c12e ("scsi: libsas: direct call probe and destruct")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
sas_discover.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index 190108e..e4fd078 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -361,7 +361,7 @@ void sas_destruct_devices(struct asd_sas_port *port)
}
}
-void sas_destruct_ports(struct asd_sas_port *port)
+static void sas_destruct_ports(struct asd_sas_port *port)
{
struct sas_port *sas_port, *p;
Powered by blists - more mailing lists