Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backing: silence compiler warning using __printf
__printf marker was added in commit d2cc4dd ("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 <[email protected]> Signed-off-by: Mathieu Malaterre <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information