2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/net/irda
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
..
ircomm tty: Ldisc revamp 2008-07-20 17:12:34 -07:00
irlan netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
irnet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-07-18 02:39:39 -07:00
af_irda.c irda: Sock leak on error path in irda_create. 2008-06-03 15:18:36 -07:00
discovery.c irda: Fix a misalign access issue. (v2) 2008-05-13 23:25:57 -07:00
irda_device.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
iriap_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
iriap.c irda: use get_unaligned_* helpers 2008-05-02 16:21:52 -07:00
irias_object.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlap_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlap_frame.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00
irlap.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp_frame.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp.c irda: Fix a misalign access issue. (v2) 2008-05-13 23:25:57 -07:00
irmod.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irnetlink.c irda: Fix netlink error path return value 2008-07-08 03:07:43 -07:00
irproc.c [IRDA]: Use proc_create() to setup ->proc_fops first 2008-02-29 10:34:45 -08:00
irqueue.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irsysctl.c net: '&' redux 2008-11-03 18:21:05 -08:00
irttp.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
Kconfig [S390] Kconfig: unwanted menus for s390. 2007-05-10 15:46:07 +02:00
Makefile [IrDA]: Netlink layer. 2007-07-10 22:16:43 -07:00
parameters.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
qos.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
timer.c more UTF-8 conversions 2007-10-19 23:22:11 +02:00
wrapper.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00