From b30e092de65ca7be7cb277f934016484137d924c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 6 Jul 2015 16:26:34 +0000 Subject: mac80211: update to version 2015-06-22 Signed-off-by: Felix Fietkau SVN-Revision: 46198 --- .../patches/364-brcmfmac-cleanup-a-sizeof.patch | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 package/kernel/mac80211/patches/364-brcmfmac-cleanup-a-sizeof.patch (limited to 'package/kernel/mac80211/patches/364-brcmfmac-cleanup-a-sizeof.patch') diff --git a/package/kernel/mac80211/patches/364-brcmfmac-cleanup-a-sizeof.patch b/package/kernel/mac80211/patches/364-brcmfmac-cleanup-a-sizeof.patch deleted file mode 100644 index d26e118..0000000 --- a/package/kernel/mac80211/patches/364-brcmfmac-cleanup-a-sizeof.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Dan Carpenter -Date: Thu, 7 May 2015 12:59:19 +0300 -Subject: [PATCH] brcmfmac: cleanup a sizeof() - -"flowrings" and "*flowrings" are both pointers so this always returns -sizeof(void *) and the current code works fine. But "*flowrings" is -intended here and static checkers complain, so lets change it. - -Signed-off-by: Dan Carpenter -Signed-off-by: Kalle Valo ---- - ---- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c -+++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c -@@ -1617,7 +1617,7 @@ static void brcmf_pcie_setup(struct devi - bus->msgbuf->commonrings[i] = - &devinfo->shared.commonrings[i]->commonring; - -- flowrings = kcalloc(devinfo->shared.nrof_flowrings, sizeof(flowrings), -+ flowrings = kcalloc(devinfo->shared.nrof_flowrings, sizeof(*flowrings), - GFP_KERNEL); - if (!flowrings) - goto fail; -- cgit v1.1