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)
commit0d74d872c3f8b9cb3d096fb932a063b43b37f188
tree0ae7ebcc4b15de8a425adaaaf9f252f7f87f8378
parent7e437d61514bc3e05167da263977e3cdd698f08a
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