bcache: add identifier names to arguments of function definitions
authorColy Li <colyli@suse.de>
Sat, 11 Aug 2018 05:19:46 +0000 (13:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Aug 2018 21:46:41 +0000 (15:46 -0600)
commitfc2d5988b5972bced859944986fb36d902ac3698
tree461c2a8a7eaf675efd748da18121a2c5a12d8e31
parent1fae7cf05293d3a2c9e59c1bc59372322386467c
bcache: add identifier names to arguments of function definitions

There are many function definitions do not have identifier argument names,
scripts/checkpatch.pl complains warnings like this,

 WARNING: function definition argument 'struct bcache_device *' should
  also have an identifier name
  #16735: FILE: writeback.h:120:
  +void bch_sectors_dirty_init(struct bcache_device *);

This patch adds identifier argument names to all bcache function
definitions to fix such warnings.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
14 files changed:
drivers/md/bcache/bcache.h
drivers/md/bcache/bset.h
drivers/md/bcache/btree.c
drivers/md/bcache/btree.h
drivers/md/bcache/debug.h
drivers/md/bcache/extents.h
drivers/md/bcache/journal.c
drivers/md/bcache/journal.h
drivers/md/bcache/request.c
drivers/md/bcache/request.h
drivers/md/bcache/stats.h
drivers/md/bcache/super.c
drivers/md/bcache/util.h
drivers/md/bcache/writeback.h