]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: add __printf verification to __ata_ehi_pushv_desc
authorMathieu Malaterre <malat@debian.org>
Sat, 5 May 2018 20:00:37 +0000 (22:00 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 7 May 2018 15:32:20 +0000 (08:32 -0700)
commit713171a2709daf1c645056744f460a89600ba612
tree0ae7ebcc4b15de8a425adaaaf9f252f7f87f8378
parent9f09adaddd4cf5ac01fb48104acf0012eec51041
driver core: add __printf verification to __ata_ehi_pushv_desc

__printf is useful to verify format and arguments. Remove the following
warning (with W=1):

  drivers/ata/libata-eh.c:183:10: warning: function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-eh.c