rtl8xxxu: Use correct formatting type to print sizeof()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:04:32 +0000 (17:04 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:00 +0000 (15:29 +0200)
Usual gcc i386 issue reported by kbuildbot

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c

index cfea68b7eb4d70588ce82a2b0d382c475e69920c..171e0388d5ec6548ef5f9dbaddcd007e91febebf 100644 (file)
@@ -5129,7 +5129,7 @@ static void rtl8xxxu_update_rate_mask(struct rtl8xxxu_priv *priv,
        if (sgi)
                h2c.ramask.arg |= 0x20;
 
-       dev_dbg(&priv->udev->dev, "%s: rate mask %08x, arg %02x, size %li\n",
+       dev_dbg(&priv->udev->dev, "%s: rate mask %08x, arg %02x, size %zi\n",
                __func__, ramask, h2c.ramask.arg, sizeof(h2c.ramask));
        rtl8723a_h2c_cmd(priv, &h2c, sizeof(h2c.ramask));
 }