diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2012-05-02 11:34:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 11:46:37 -0800 |
commit | 6df5eea2553e9b66c2ef1f68dfd4b8867e2ff740 (patch) | |
tree | 46efef9cd8f461c5bbc877c71a037e6e31c2d9a7 /drivers/net/rionet.c | |
parent | cbe6d9bd065c64cb9eac67d9a12001e095f875b9 (diff) | |
download | lwn-6df5eea2553e9b66c2ef1f68dfd4b8867e2ff740.tar.gz lwn-6df5eea2553e9b66c2ef1f68dfd4b8867e2ff740.zip |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/rionet.c')
0 files changed, 0 insertions, 0 deletions