summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2017-03-10 10:05:40 +0800
committerTejun Heo <tj@kernel.org>2017-03-13 13:08:26 -0400
commitaf27e01cfcfcdf7f45488e023b474eb6de5f732e (patch)
tree706352e5aa267493715b4395bff1779842a88700 /drivers/ata
parent7c92357c91a917fd882801604bba2cb1f1fdde23 (diff)
downloadop-kernel-dev-af27e01cfcfcdf7f45488e023b474eb6de5f732e.zip
op-kernel-dev-af27e01cfcfcdf7f45488e023b474eb6de5f732e.tar.gz
libata: make ata_sg_clean static over again
Fixes the following sparse warning: drivers/ata/libata-core.c:4913:6: warning: symbol 'ata_sg_clean' was not declared. Should it be static? Signed-off-by: Jason Yan <yanaijie@huawei.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 55d3c8b..2d83b8c 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4910,7 +4910,7 @@ void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
* LOCKING:
* spin_lock_irqsave(host lock)
*/
-void ata_sg_clean(struct ata_queued_cmd *qc)
+static void ata_sg_clean(struct ata_queued_cmd *qc)
{
struct ata_port *ap = qc->ap;
struct scatterlist *sg = qc->sg;
OpenPOWER on IntegriCloud