scsi: aha152x: Fix sparse warning and make printing pointer address more portable.
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Wed, 2 May 2012 10:34:01 +0000 (11:34 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:32:51 +0000 (03:32 +0000)
commitddd6e088519fa4bdd6388ab05109cffdc8a35107
tree773e1c881687f20cc826ec57ec062e92bd469bec
parentb3655a9d1a642787986b0d8fbc4f1ca14a6c010e
scsi: aha152x: Fix sparse warning and make printing pointer address more portable.

commit b631cf1f899f9d2e449884dbccc34940637c639f upstream.

This is to change use of "0x%08x" in favour of "%p" as per ../Documentation/printk-formats.txt,
which also takes care about the following warning during compilation time:

  drivers/scsi/aha152x.c: In function ‘get_command’:
  drivers/scsi/aha152x.c:2987: warning: cast from pointer to integer of different size

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/scsi/aha152x.c