diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-18 02:23:04 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-18 17:36:58 +0300 |
commit | f846593391d86289bed6b4834a9717820561d571 (patch) | |
tree | e162da92f2b331803fb1165bad2d06bcd0571f08 /block | |
parent | d352ae205d8b05f3f7558d10f474d8436581b3e2 (diff) | |
download | linux-f846593391d86289bed6b4834a9717820561d571.tar.xz |
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')
-rw-r--r-- | block/blk-mq-debugfs.c | 2 |
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, |