diff options
author | David S. Miller <davem@davemloft.net> | 2014-03-25 20:29:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-25 20:29:20 -0400 |
commit | 04f58c88542b6b351efb4eea01134eb672e22e6e (patch) | |
tree | 47bb617212f8c8951f35730e324bdc43487a01ca /drivers/net/wireless/brcm80211/brcmfmac | |
parent | 0fc31966035d7a540c011b6c967ce8eae1db121b (diff) | |
parent | 632b06aa2842b12c6d6a510ec080fb6ebdb38ea5 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
Documentation/devicetree/bindings/net/micrel-ks8851.txt
net/core/netpoll.c
The net/core/netpoll.c conflict is a bug fix in 'net' happening
to code which is completely removed in 'net-next'.
In micrel-ks8851.txt we simply have overlapping changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c index 47a6f3957b7f..13c89a0c4ba7 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | |||
@@ -2140,8 +2140,10 @@ static int brcmf_sdio_txpkt_prep_sg(struct brcmf_sdio *bus, | |||
2140 | if (pkt_pad == NULL) | 2140 | if (pkt_pad == NULL) |
2141 | return -ENOMEM; | 2141 | return -ENOMEM; |
2142 | ret = brcmf_sdio_txpkt_hdalign(bus, pkt_pad); | 2142 | ret = brcmf_sdio_txpkt_hdalign(bus, pkt_pad); |
2143 | if (unlikely(ret < 0)) | 2143 | if (unlikely(ret < 0)) { |
2144 | kfree_skb(pkt_pad); | ||
2144 | return ret; | 2145 | return ret; |
2146 | } | ||
2145 | memcpy(pkt_pad->data, | 2147 | memcpy(pkt_pad->data, |
2146 | pkt->data + pkt->len - tail_chop, | 2148 | pkt->data + pkt->len - tail_chop, |
2147 | tail_chop); | 2149 | tail_chop); |