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:
d352ae2
)
blk-mq-debugfs: Declare a local symbol static
author
Bart Van Assche
<bart.vanassche@wdc.com>
Thu, 17 Aug 2017 23:23:04 +0000
(16:23 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 18 Aug 2017 14:36:58 +0000
(08:36 -0600)
This was detected by sparse.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-mq-debugfs.c
b/block/blk-mq-debugfs.c
index 55940ddacd968288970bd43e9b517790eb3b54d2..e53b6129ca5a01f9d9a2738bab14f8bd8435f9de 100644
(file)
--- a/
block/blk-mq-debugfs.c
+++ b/
block/blk-mq-debugfs.c
@@
-739,7
+739,7
@@
static int blk_mq_debugfs_release(struct inode *inode, struct file *file)
return seq_release(inode, file);
}
-const struct file_operations blk_mq_debugfs_fops = {
+
static
const struct file_operations blk_mq_debugfs_fops = {
.open = blk_mq_debugfs_open,
.read = seq_read,
.write = blk_mq_debugfs_write,