OSDN Git Service

bcache: add static const prefix to char * array declarations
authorColy Li <colyli@suse.de>
Sat, 11 Aug 2018 05:19:56 +0000 (13:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Aug 2018 21:46:42 +0000 (15:46 -0600)
commite1f08f1bc0134c2ebd655fc63ed82e160c123b7b
treec30ec0e504be1049a9d357e8295626286c03db98
parent3be11dbab67a3ed28358a950671de9b8e7fb5a02
bcache: add static const prefix to char * array declarations

This patch declares char * array with const prefix in sysfs.c,
which is suggested by checkpatch.pl.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/sysfs.c