Loading drivers/net/ipa/gsi.c +4 −2 Original line number Diff line number Diff line Loading @@ -1367,9 +1367,10 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) struct gsi_event *event_done; struct gsi_event *event; struct gsi_trans *trans; u32 trans_count = 0; u32 byte_count = 0; u32 old_index; u32 event_avail; u32 old_index; trans_info = &channel->trans_info; Loading @@ -1390,6 +1391,7 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) do { trans->len = __le16_to_cpu(event->len); byte_count += trans->len; trans_count++; /* Move on to the next event and transaction */ if (--event_avail) Loading @@ -1401,7 +1403,7 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) /* We record RX bytes when they are received */ channel->byte_count += byte_count; channel->trans_count++; channel->trans_count += trans_count; } /* Initialize a ring, including allocating DMA memory for its entries */ Loading drivers/net/ipa/ipa_endpoint.c +6 −7 Original line number Diff line number Diff line Loading @@ -1150,13 +1150,12 @@ static void ipa_endpoint_skb_copy(struct ipa_endpoint *endpoint, return; skb = __dev_alloc_skb(len, GFP_ATOMIC); if (!skb) return; if (skb) { /* Copy the data into the socket buffer and receive it */ skb_put(skb, len); memcpy(skb->data, data, len); skb->truesize += extra; } ipa_modem_skb_rx(endpoint->netdev, skb); } Loading drivers/net/ipa/ipa_qmi.c +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ static void ipa_qmi_indication(struct ipa_qmi *ipa_qmi) */ static void ipa_qmi_ready(struct ipa_qmi *ipa_qmi) { struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); struct ipa *ipa; int ret; /* We aren't ready until the modem and microcontroller are */ Loading Loading
drivers/net/ipa/gsi.c +4 −2 Original line number Diff line number Diff line Loading @@ -1367,9 +1367,10 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) struct gsi_event *event_done; struct gsi_event *event; struct gsi_trans *trans; u32 trans_count = 0; u32 byte_count = 0; u32 old_index; u32 event_avail; u32 old_index; trans_info = &channel->trans_info; Loading @@ -1390,6 +1391,7 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) do { trans->len = __le16_to_cpu(event->len); byte_count += trans->len; trans_count++; /* Move on to the next event and transaction */ if (--event_avail) Loading @@ -1401,7 +1403,7 @@ static void gsi_evt_ring_rx_update(struct gsi_evt_ring *evt_ring, u32 index) /* We record RX bytes when they are received */ channel->byte_count += byte_count; channel->trans_count++; channel->trans_count += trans_count; } /* Initialize a ring, including allocating DMA memory for its entries */ Loading
drivers/net/ipa/ipa_endpoint.c +6 −7 Original line number Diff line number Diff line Loading @@ -1150,13 +1150,12 @@ static void ipa_endpoint_skb_copy(struct ipa_endpoint *endpoint, return; skb = __dev_alloc_skb(len, GFP_ATOMIC); if (!skb) return; if (skb) { /* Copy the data into the socket buffer and receive it */ skb_put(skb, len); memcpy(skb->data, data, len); skb->truesize += extra; } ipa_modem_skb_rx(endpoint->netdev, skb); } Loading
drivers/net/ipa/ipa_qmi.c +1 −1 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ static void ipa_qmi_indication(struct ipa_qmi *ipa_qmi) */ static void ipa_qmi_ready(struct ipa_qmi *ipa_qmi) { struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); struct ipa *ipa; int ret; /* We aren't ready until the modem and microcontroller are */ Loading