wimax/i2400m: workaround not-so-working %zd printf format
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 2 Sep 2009 22:41:23 +0000 (15:41 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:51 +0000 (15:55 +0900)
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>
drivers/net/wimax/i2400m/usb-fw.c

index f162c815d505739c5c6b4e88a08fa104ee5e3acd..b59aee0ee64963c4d2700d12913acdb0183a8403 100644 (file)
@@ -330,8 +330,8 @@ error_dev_gone:
 out:
        if (do_autopm)
                usb_autopm_put_interface(i2400mu->usb_iface);
-       d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %zd\n",
-               i2400m, ack, ack_size, result);
+       d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %ld\n",
+               i2400m, ack, ack_size, (long) result);
        return result;
 
 error_exceeded: