android_kernel_xiaomi_sm8350/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_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
ioctl.c
Kconfig
lec_arpc.h
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
mpc.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
mpc.h
mpoa_caches.c net: replace NIPQUAD() in net/*/ 2008-10-31 00:54:56 -07:00
mpoa_caches.h
mpoa_proc.c
pppoatm.c
proc.c
protocols.h
pvc.c
raw.c
resources.c
resources.h
signaling.c
signaling.h
svc.c