libata: Fix compile warning with ATA_DEBUG enabled
authorDong Bo <dongbo4@huawei.com>
Fri, 26 Jan 2018 03:21:49 +0000 (11:21 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 12 Feb 2018 16:58:08 +0000 (08:58 -0800)
commit0d3e45bc6507bd1f8728bf586ebd16c2d9e40613
treedcb81ce5d04aed71a25148dfcbd9010843fcdbe4
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
libata: Fix compile warning with ATA_DEBUG enabled

This fixs the following comile warnings with ATA_DEBUG enabled,
which detected by Linaro GCC 5.2-2015.11:

  drivers/ata/libata-scsi.c: In function 'ata_scsi_dump_cdb':
  ./include/linux/kern_levels.h:5:18: warning: format '%d' expects
  argument of type 'int', but argument 6 has type 'u64 {aka long
   long unsigned int}' [-Wformat=]

tj: Patch hand-applied and description trimmed.

Signed-off-by: Dong Bo <dongbo4@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c