staging: fix csr printk format warning
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 17 Sep 2012 17:33:18 +0000 (10:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 21:50:33 +0000 (14:50 -0700)
commit8ab92cbdb37b87d4fda4c2cb1c0f586856c6c64a
tree168a7104e3fe53e7c6a9df187d79191eccac5286
parent8508317c96727a3905400796b89586c323b551ee
staging: fix csr printk format warning

Fix printk format warning on i386/X86_32 by using 't' for ptrdiff_t.
Also builds cleanly on x86_64.

drivers/staging/csr/csr_wifi_hip_udi.c: In function 'unifi_print_status':
drivers/staging/csr/csr_wifi_hip_udi.c:151:27: warning: format '%ld' expects type 'long int', but argument 5 has type 'int'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/csr_wifi_hip_udi.c