aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-02 18:41:23 -0400
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 02:55:51 -0400
commit59bdc4be0b819173a8f840fc11ccb82d6f2ca64b (patch)
treef984caa23124ddc13c2251afd31cb3f3aeb9d253 /drivers/net/wimax
parent4c2b1a11646bf74e2926ce8b13a21884adc1e05c (diff)
wimax/i2400m: workaround not-so-working %zd printf format
The kernel's %zd modifier does not really work. Use %ld (has to cast ssize_t to long). Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/usb-fw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/usb-fw.c b/drivers/net/wimax/i2400m/usb-fw.c
index f162c815d505..b59aee0ee649 100644
--- a/drivers/net/wimax/i2400m/usb-fw.c
+++ b/drivers/net/wimax/i2400m/usb-fw.c
@@ -330,8 +330,8 @@ error_dev_gone:
330out: 330out:
331 if (do_autopm) 331 if (do_autopm)
332 usb_autopm_put_interface(i2400mu->usb_iface); 332 usb_autopm_put_interface(i2400mu->usb_iface);
333 d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %zd\n", 333 d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %ld\n",
334 i2400m, ack, ack_size, result); 334 i2400m, ack, ack_size, (long) result);
335 return result; 335 return result;
336 336
337error_exceeded: 337error_exceeded: