summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-debugfs.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-18 01:23:04 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-18 16:36:58 +0200
commitf846593391d86289bed6b4834a9717820561d571 (patch)
treee162da92f2b331803fb1165bad2d06bcd0571f08 /block/blk-mq-debugfs.c
parentblk-mq: Make blk_mq_reinit_tagset() calls easier to read (diff)
downloadlinux-f846593391d86289bed6b4834a9717820561d571.tar.xz
linux-f846593391d86289bed6b4834a9717820561d571.zip
blk-mq-debugfs: Declare a local symbol static
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>
Diffstat (limited to 'block/blk-mq-debugfs.c')
-rw-r--r--block/blk-mq-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 55940ddacd96..e53b6129ca5a 100644
--- 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,