]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: wwan: iosm: fix lkp buildbot warning
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Wed, 4 Aug 2021 16:09:49 +0000 (21:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:28:55 +0000 (11:28 +0100)
Correct td buffer type casting & format specifier to fix lkp buildbot
warning.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c

index 91109e27efd3b1d56dc55835c9f8c609355ef468..35d590743d3a734a2cf0e14c266a1e1a2ae6932a 100644 (file)
@@ -412,8 +412,8 @@ struct sk_buff *ipc_protocol_dl_td_process(struct iosm_protocol *ipc_protocol,
        }
 
        if (p_td->buffer.address != IPC_CB(skb)->mapping) {
-               dev_err(ipc_protocol->dev, "invalid buf=%p or skb=%p",
-                       (void *)p_td->buffer.address, skb->data);
+               dev_err(ipc_protocol->dev, "invalid buf=%llx or skb=%p",
+                       (unsigned long long)p_td->buffer.address, skb->data);
                ipc_pcie_kfree_skb(ipc_protocol->pcie, skb);
                skb = NULL;
                goto ret;