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:
1179a5a
)
block/blk-cgroup.c: Declare local symbols static
author
Bart Van Assche
<bart.vanassche@sandisk.com>
Tue, 14 Jun 2016 15:04:32 +0000
(17:04 +0200)
committer
Jens Axboe
<axboe@fb.com>
Tue, 14 Jun 2016 15:09:33 +0000
(09:09 -0600)
Detected by sparse.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-cgroup.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-cgroup.c
b/block/blk-cgroup.c
index 66e6f1aae02eeb14de30ada1e6696622082729c1..dd38e5ced4a3fa7510f00c2ee7ff9dc636b2a7fc 100644
(file)
--- a/
block/blk-cgroup.c
+++ b/
block/blk-cgroup.c
@@
-905,7
+905,7
@@
static int blkcg_print_stat(struct seq_file *sf, void *v)
return 0;
}
-struct cftype blkcg_files[] = {
+st
atic st
ruct cftype blkcg_files[] = {
{
.name = "stat",
.flags = CFTYPE_NOT_ON_ROOT,
@@
-914,7
+914,7
@@
struct cftype blkcg_files[] = {
{ } /* terminate */
};
-struct cftype blkcg_legacy_files[] = {
+st
atic st
ruct cftype blkcg_legacy_files[] = {
{
.name = "reset_stats",
.write_u64 = blkcg_reset_stats,