linux/drivers/net
Joe Perches 43d620c829 drivers/net: Remove casts of void *
Unnecessary casts of void * clutter the code.

These are the remainder casts after several specific
patches to remove netdev_priv and dev_priv.

Done via coccinelle script (and a little editing):

$ cat cast_void_pointer.cocci
@@
type T;
T *pt;
void *pv;
@@

- pt = (T *)pv;
+ pt = pv;

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-By: Chris Snook <chris.snook@gmail.com>
Acked-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-21 15:48:29 -07:00
..
appletalk drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
arcnet net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
arm Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
atl1c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
atl1e drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
atlx drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
benet drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
bna drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
bnx2x bnx2x: Update date to 2011/06/13 and version to 1.70.00-0 2011-06-15 10:56:59 -04:00
bonding Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
caif drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
can Merge branch 'can/at91-sam9x5' of git://git.pengutronix.de/git/mkl/linux-2.6 2011-06-07 01:03:56 -07:00
chelsio Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
cris
cxgb3 drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
cxgb4 drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
cxgb4vf net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
e1000 e1000: convert to ndo_fix_features 2011-06-21 01:14:33 -07:00
e1000e e1000e: update driver version 2011-06-09 20:34:58 -07:00
ehea drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
enic enic: Bug Fix: Fix hardware transmit queue indexing in enic_poll_controller 2011-06-09 14:58:09 -07:00
fs_enet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
hamradio net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ibm_newemac
igb igb: convert to ndo_fix_features 2011-06-21 01:15:07 -07:00
igbvf igbvf: update version number 2011-06-09 20:35:20 -07:00
irda net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ixgb Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
ixgbe ixgbe: setup per CPU PCI pool for FCoE DDP 2011-06-21 01:22:44 -07:00
ixgbevf ixgbevf: remove unnecessary ampersands 2011-06-21 01:18:12 -07:00
ixp2000 net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
mlx4 drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
myri10ge myricom: remove stats_lock 2011-06-20 13:02:36 -07:00
netxen drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
octeon net: fix MIPS fallout from "net: remove interrupt.h inclusion from netdevice.h" 2011-06-11 16:00:18 -07:00
pch_gbe Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
pcmcia Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2011-05-24 13:28:35 -07:00
phy Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
qlcnic drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
qlge drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
sfc drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
skfp
stmmac stmmac: fix race in transmit time stamping. 2011-06-19 16:35:30 -07:00
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2011-05-25 15:35:32 -07:00
tokenring drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
tulip net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
usb Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
vmxnet3 vmxnet3: remove unused variable 2011-06-13 18:31:09 -04:00
vxge drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
wan drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
wimax
wireless Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
xen-netback
3c59x.c Revert "net: fix section mismatches" 2011-05-31 19:28:32 -07:00
3c501.c
3c501.h
3c503.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c Revert "net: fix section mismatches" 2011-05-31 19:28:32 -07:00
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
8139too.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
8390.c
8390.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
8390p.c
82596.c
a2065.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
a2065.h
ac3200.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
acenic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-05-20 13:43:21 -07:00
acenic.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
amd8111e.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
amd8111e.h
apne.c net/m68k: Include <linux/interrupt.h> where needed 2011-06-11 14:58:17 -07:00
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
b44.h
bcm63xx_enet.c net: fix MIPS fallout from "net: remove interrupt.h inclusion from netdevice.h" 2011-06-11 16:00:18 -07:00
bcm63xx_enet.h
bfin_mac.c netdev: bfin_mac: fix memory leak when freeing dma descriptors 2011-06-17 00:19:09 -04:00
bfin_mac.h
bmac.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
bmac.h
bnx2_fw.h
bnx2.c cnic, bnx2: Check iSCSI support early in bnx2_init_one() 2011-06-08 23:52:37 -07:00
bnx2.h
bsd_comp.c
cassini.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
cassini.h
cnic_defs.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
cnic_if.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
cnic.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
cnic.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
cpmac.c net: fix MIPS fallout from "net: remove interrupt.h inclusion from netdevice.h" 2011-06-11 16:00:18 -07:00
cs89x0.c
cs89x0.h
davinci_cpdma.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
davinci_cpdma.h
davinci_emac.c davinci_emac: fix race in transmit time stamping. 2011-06-19 16:35:31 -07:00
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
defxx.c
defxx.h
depca.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
depca.h
dl2k.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
dl2k.h
dm9000.c net: DM9000: Add support for byte EEPROM access 2011-06-11 15:54:52 -07:00
dm9000.h
dnet.c dnet: enable transmit time stamping. 2011-06-13 17:26:15 -04:00
dnet.h
dummy.c
e100.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
e2100.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
eql.c
es3210.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
eth16i.c
ethoc.c ethoc: enable transmit time stamping. 2011-06-13 17:26:15 -04:00
ewrk3.c
ewrk3.h
fealnx.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
fec_mpc52xx_phy.c
fec_mpc52xx.c fec_mpc52xx: enable transmit and receive time stamping. 2011-06-20 13:56:54 -07:00
fec_mpc52xx.h
fec.c fec: fix race in transmit time stamping. 2011-06-19 16:35:30 -07:00
fec.h
forcedeth.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftgmac100.c net: add Faraday FTGMAC100 Gigabit Ethernet driver 2011-06-11 15:50:31 -07:00
ftgmac100.h net: add Faraday FTGMAC100 Gigabit Ethernet driver 2011-06-11 15:50:31 -07:00
ftmac100.c
ftmac100.h
gianfar_ethtool.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
gianfar_ptp.c ptp: Added a clock that uses the eTSEC found on the MPC85xx. 2011-05-23 13:10:14 -07:00
gianfar_sysfs.c
gianfar.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
gianfar.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
greth.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
greth.h
hamachi.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
hp100.c hp100: fix an skb->len race 2011-06-19 16:28:02 -07:00
hp100.h
hp-plus.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
hp.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
hplance.c net/hplance: hplance_init() should be __devinit 2011-06-13 18:32:36 -04:00
hplance.h
hydra.c
ibmlana.c Revert "net: fix section mismatches" 2011-05-31 19:28:32 -07:00
ibmlana.h
ibmveth.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ibmveth.h
ifb.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ioc3-eth.c arch, mm: filter disallowed nodes from arch specific show_mem functions 2011-05-25 08:39:03 -07:00
ipg.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ipg.h
iseries_veth.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
jazzsonic.c
jme.c
jme.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
Kconfig myri_sbus: remove driver 2011-06-20 12:51:22 -07:00
korina.c
ks8842.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ks8851_mll.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ks8851.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ks8851.h
ksz884x.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
lance.c
lantiq_etop.c
lasi_82596.c
lib8390.c lib8390: enable transmit and receive time stamping. 2011-06-20 13:56:53 -07:00
lib82596.c
LICENSE.SRC
ll_temac_main.c ll_temac: enable transmit and receive time stamping. 2011-06-20 13:56:54 -07:00
ll_temac_mdio.c
ll_temac.h
lne390.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: enable transmit time stamping. 2011-06-20 13:56:54 -07:00
macb.h
mace.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
mace.h
macmace.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
macsonic.c
macvlan.c macvlan: add VLAN filters to lowerdev 2011-06-06 16:43:43 -07:00
macvtap.c virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID 2011-06-11 15:57:47 -07:00
Makefile myri_sbus: remove driver 2011-06-20 12:51:22 -07:00
mdio.c
meth.c
meth.h
mii.c
mipsnet.c net: fix MIPS fallout from "net: remove interrupt.h inclusion from netdevice.h" 2011-06-11 16:00:18 -07:00
mv643xx_eth.c
mvme147.c
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c Revert "net: fix section mismatches" 2011-05-31 19:28:32 -07:00
ne-h8300.c
ne.c
netconsole.c net: rename NETDEV_BONDING_DESLAVE to NETDEV_RELEASE 2011-05-22 21:01:19 -04:00
netx-eth.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c niu: support 64 bit stats interface 2011-06-08 23:26:33 -07:00
niu.h
ns83820.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
pasemi_mac_ethtool.c
pasemi_mac.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
pppoe.c
pppox.c
pptp.c
ps3_gelic_net.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
qla3xxx.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
qla3xxx.h
r6040.c r6040: fix race in transmit time stamping. 2011-06-19 16:35:30 -07:00
r8169.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
rionet.c rionet: Remove pointless printk of skb pointer. 2011-05-22 20:35:54 -04:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
sc92031.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
sis900.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
sis900.h
skge.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
skge.h net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
sky2.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
sky2.h
slhc.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
slip.c Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
slip.h
smc91x.c net: fix smc91x.c device tree support 2011-06-05 17:02:51 -07:00
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
smc-ultra32.c
smc-ultra.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
smsc911x.c smsc911x: enable transmit time stamping. 2011-06-20 13:56:54 -07:00
smsc911x.h
smsc9420.c smsc9420: fix race in transmit time stamping. 2011-06-19 16:35:31 -07:00
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
spider_net.h
starfire.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c
sungem_phy.h
sungem.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
sungem.h sungem: Spring cleaning and GRO support 2011-06-02 22:06:42 -07:00
sunhme.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-05-20 13:43:21 -07:00
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
tehuti.c
tehuti.h
tg3.c tg3: fix race in transmit time stamping. 2011-06-19 16:35:30 -07:00
tg3.h tg3: Migrate phy preprocessor defs to system defs 2011-06-15 11:11:57 -04:00
tlan.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
tlan.h
tsi108_eth.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
tsi108_eth.h
tun.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-06-20 22:29:08 -07:00
typhoon.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
typhoon.h
ucc_geth_ethtool.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
ucc_geth.c ucc_geth: enable transmit time stamping. 2011-06-20 13:56:55 -07:00
ucc_geth.h
veth.c veth: fix 64bit stats on 32bit arches 2011-06-19 22:48:34 -07:00
via-rhine.c
via-velocity.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
via-velocity.h via-velocity: don't annotate MAC registers as packed 2011-05-25 17:55:32 -04:00
virtio_net.c virtio_net: introduce VIRTIO_NET_HDR_F_DATA_VALID 2011-06-11 15:57:47 -07:00
wd.c
xen-netfront.c xen: netfront: hold RTNL when updating features. 2011-05-25 17:55:32 -04:00
xilinx_emaclite.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
xtsonic.c
yellowfin.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
znet.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
zorro8390.c