projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c92357
)
libata: make ata_sg_clean static over again
author
Jason Yan
<yanaijie@huawei.com>
Fri, 10 Mar 2017 02:05:40 +0000
(10:05 +0800)
committer
Tejun Heo
<tj@kernel.org>
Mon, 13 Mar 2017 17:08:26 +0000
(13:08 -0400)
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>
drivers/ata/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index 55d3c8b8b35b37037fa1567983d050295c9a8a21..2d83b8c7596567a020300d8dd1aeefeb33a6a055 100644
(file)
--- 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;