Re: [PATCH 0/4 linux-next] drivers/net: use container_of where possible

From: Arend van Spriel
Date: Sun Sep 14 2014 - 03:33:03 EST


On 09/13/14 22:38, Fabian Frederick wrote:
Small patchset using container_of instead of casting on first structure member address.

Hi Fabian,

I think you need to split up this series. One for the ethernet drivers and one for the wireless driver. As there is not dependency between the patches they can each go through their own subsystem git tree. Generally I tend to submit patches to the subsystem maintainer and Cc the appropriate mailing lists.

Regarding the patches for brcmsmac, you can add

Acked-by: Arend van Spriel <arend@xxxxxxxxxxxx>

Regards,
Arend

Fabian Frederick (4):
net: fec: use container_of to resolve bufdesc_ex from bufdesc
bna: use container_of to resolve bufdesc_ex from bufdesc
brcm80211: use container_of to resolve brcms_phy from brcms_phy_pub
brcm80211: use container_of to resolve dma_info from dma_pub

drivers/net/ethernet/brocade/bna/bna_enet.c | 9 +-
drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 4 +-
drivers/net/ethernet/freescale/fec_main.c | 4 +-
drivers/net/wireless/brcm80211/brcmsmac/dma.c | 38 +++----
.../net/wireless/brcm80211/brcmsmac/phy/phy_cmn.c | 122 ++++++++++-----------
.../net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c | 6 +-
.../net/wireless/brcm80211/brcmsmac/phy/phy_n.c | 8 +-
7 files changed, 97 insertions(+), 94 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/