summaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-08-05 11:28:56 +0100
committerDavid S. Miller <davem@davemloft.net>2021-08-05 11:28:56 +0100
commitafa00d3f5800a83228311636fc69fd28fb7af205 (patch)
tree7e87cf895e44b4475de1083a1882c211b119f909 /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
parent6b67d4d63edece1033972214704c04f36c5be89a (diff)
parent679505baaaabed98359c1dfb78f81600e299af21 (diff)
Merge branch 'eean-iosm-fixes'
M Chetan Kumar says: ==================== net: wwan: iosm: fixes This patch series contains IOSM Driver fixes. Below is the patch series breakdown. PATCH1: * Correct the td buffer type casting & format specifier to fix lkp buildbot warning. PATCH2: * Endianness type correction for nr_of_bytes. This field is exchanged as part of host-device protocol communication. PATCH3: * Correct ul/dl data protocol mask bit to know which protocol capability does device implement. PATCH4: * Calling unregister_netdevice() inside wwan del link is trying to acquire the held lock in ndo_stop_cb(). Instead, queue net dev to be unregistered later. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
-rw-r--r--drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c b/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
index 91109e27efd3b..35d590743d3a7 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
+++ b/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
@@ -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;