linux/drivers/isdn
Jiri Slaby 1ea70841f0 isdn: eicon: Use offsetof
Use offsetof instead of explicit implementation.

* fixes bug with omitted & like:
  len = (byte)(((T30_INFO *) 0)->station_id + 20)

* avoids compiler warnings with wrong sizes (pointer-to-char cast):
  len = (byte)(&(((T30_INFO *) 0)->universal_6));

* cleans up the code

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Acked-by: Armin Schindler <armin@melware.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04 08:28:12 -08:00
..
act2000 ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
capi isdn: make capidrv module parameter "debugmode" writeable 2009-10-06 22:20:55 -07:00
divert trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
gigaset gigaset: add kerneldoc comments 2009-10-06 22:21:07 -07:00
hardware isdn: eicon: Use offsetof 2009-11-04 08:28:12 -08:00
hisax isdn: hisax: Fix lock imbalance. 2009-11-04 08:25:57 -08:00
hysdn isdn: convert to netdev_tx_t 2009-09-01 01:13:16 -07:00
i4l isdn: fix possible circular locking dependency 2009-10-22 18:27:53 -07:00
icn fix ! versus & precedence in various places 2008-02-06 10:40:59 -08:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
mISDN misdn: Fix reversed 'if' in st_own_ctrl 2009-11-04 08:27:09 -08:00
pcbit isdn: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:29 -08:00
sc ISDN: fix sc/shmem printk format warning 2009-02-20 00:54:44 -08:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile mISDN fix main ISDN Makefile 2008-08-02 16:28:20 +02:00