scsi: fix decimal printf format specifiers prefixed with 0x
authorHans Wennborg <hans@hanshq.net>
Wed, 6 Aug 2014 04:43:29 +0000 (21:43 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:45 +0000 (09:09 -0700)
commitfc3850458c176a3cf925771ec822f9537d1dbbc6
treec137f7f1819b388ed23c72e86b779e5bd70fdf5b
parent8e5a9484aee8d48f7dd3739c139ac684b30e6201
scsi: fix decimal printf format specifiers prefixed with 0x

The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.

Found by using regex suggested by Joe Perches.

Signed-off-by: Hans Wennborg <hans@hanshq.net>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/nsp32.c
drivers/scsi/qla2xxx/qla_target.c