]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Jul 2012 08:19:25 +0000 (10:19 +0200)
commitb631cf1f899f9d2e449884dbccc34940637c639f
treee3b9d3e7e7cd83d5456bcdd77d8b80553e44fa6d
parent90b24cfb42fc5c0366a0555fd5236e9f84f86d2c
scsi: aha152x: Fix sparse warning and make printing pointer address more portable.

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>
drivers/scsi/aha152x.c