lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410640709-18295-1-git-send-email-fabf@skynet.be>
Date:	Sat, 13 Sep 2014 22:38:25 +0200
From:	Fabian Frederick <fabf@...net.be>
To:	linux-kernel@...r.kernel.org
Cc:	davem@...emloft.net, Fabian Frederick <fabf@...net.be>,
	netdev@...r.kernel.org, linux-wireless@...r.kernel.org,
	brcm80211-dev-list@...adcom.com
Subject: [PATCH 0/4 linux-next] drivers/net: use container_of where possible 

Small patchset using container_of instead of casting on first structure member address.

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(-)

-- 
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ