mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
fc2d5988b5
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>
15 lines
482 B
C
15 lines
482 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _BCACHE_EXTENTS_H
|
|
#define _BCACHE_EXTENTS_H
|
|
|
|
extern const struct btree_keys_ops bch_btree_keys_ops;
|
|
extern const struct btree_keys_ops bch_extent_keys_ops;
|
|
|
|
struct bkey;
|
|
struct cache_set;
|
|
|
|
void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
|
|
bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
|
|
bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
|
|
|
|
#endif /* _BCACHE_EXTENTS_H */
|