diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-04-06 22:14:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-04-10 08:38:46 -0600 |
commit | a93f00b3762026dd8231f473fae9346bda07db03 (patch) | |
tree | 76cd9c43c33ca474727b7f942f38f03260a55c46 /block/blk-core.c | |
parent | 37c7c6c76d431dd7ef9c29d95f6052bd425f004c (diff) |
backing: silence compiler warning using __printf
__printf marker was added in commit d2cc4dde9206 ("bdi_register: add
__printf verification, fix arg mismatch") for function `bdi_register`
since it is useful to verify format and arguments. Apply equivalent gcc
attribute to `bdi_register_va`.
Remove warning triggered with W=1:
mm/backing-dev.c:881:2: warning: function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions