linux_dsm_epyc7002/net/atm
Wang Chen 524ad0a791 netdevice: safe convert to netdev_priv() #part-4
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
   netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.

This patch is a safe convert for netdev->priv to netdev_priv(netdev).
Since all of the netdev->priv is only for read.
But it is too big to be sent in one mail.
I split it to 4 parts and make every part smaller than 100,000 bytes,
which is max size allowed by vger.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-12 23:39:10 -08:00
..
addr.c atm: use const where reasonable 2008-06-17 16:20:06 -07:00
addr.h atm: use const where reasonable 2008-06-17 16:20:06 -07:00
atm_misc.c [ATM]: atm_pcr_goal() doesn't modify its argument's contents -- mark it as const 2005-11-29 16:13:55 -08:00
atm_sysfs.c net: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-10 13:55:14 -08:00
br2684.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
clip.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
common.c atm: use const where reasonable 2008-06-17 16:20:06 -07:00
common.h [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ioctl.c [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
Kconfig [ATM]: atm is no longer experimental 2008-01-28 15:00:11 -08:00
lec_arpc.h [ATM]: [lec] add reference counting to lec_arp entries 2006-09-29 17:16:48 -07:00
lec.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
lec.h atm: use const where reasonable 2008-06-17 16:20:06 -07:00
Makefile [ATM]: Kill ipcommon.[ch] 2006-12-02 21:32:08 -08:00
mpc.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
mpc.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
mpoa_caches.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
mpoa_caches.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
mpoa_proc.c [ATM]: Use proc_create() to setup ->proc_fops first 2008-02-28 13:55:45 -08:00
pppoatm.c [ATM]: Replace DPRINTK() with pr_debug(). 2007-10-10 16:48:27 -07:00
proc.c atm: assign PDE->data before gluing PDE into /proc tree 2008-05-02 04:08:30 -07:00
protocols.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvc.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
raw.c [ATM]: Replace DPRINTK() with pr_debug(). 2007-10-10 16:48:27 -07:00
resources.c [ATM]: Use SEQ_START_TOKEN 2008-04-10 03:33:03 -07:00
resources.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
signaling.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
signaling.h [NET] ATM: Fix whitespace errors. 2007-02-10 23:19:16 -08:00
svc.c [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. 2008-03-26 04:39:55 +09:00