1ea70841f0
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> |
||
---|---|---|
.. | ||
adapter.h | ||
capi20.h | ||
capidtmf.c | ||
capidtmf.h | ||
capifunc.c | ||
capifunc.h | ||
capimain.c | ||
cardtype.h | ||
cp_vers.h | ||
dadapter.c | ||
dadapter.h | ||
debug_if.h | ||
debug.c | ||
debuglib.c | ||
debuglib.h | ||
dfifo.h | ||
di_dbg.h | ||
di_defs.h | ||
di.c | ||
di.h | ||
did_vers.h | ||
diddfunc.c | ||
diva_didd.c | ||
diva_dma.c | ||
diva_dma.h | ||
diva_pci.h | ||
diva.c | ||
diva.h | ||
divacapi.h | ||
divamnt.c | ||
divasfunc.c | ||
divasi.c | ||
divasmain.c | ||
divasproc.c | ||
divasync.h | ||
dqueue.c | ||
dqueue.h | ||
dsp_defs.h | ||
dsp_tst.h | ||
dspdids.h | ||
dsrv4bri.h | ||
dsrv_bri.h | ||
dsrv_pri.h | ||
entity.h | ||
helpers.h | ||
idifunc.c | ||
io.c | ||
io.h | ||
istream.c | ||
Kconfig | ||
kst_ifc.h | ||
maintidi.c | ||
maintidi.h | ||
Makefile | ||
man_defs.h | ||
mdm_msg.h | ||
message.c | ||
mi_pc.h | ||
mntfunc.c | ||
os_4bri.c | ||
os_4bri.h | ||
os_bri.c | ||
os_bri.h | ||
os_capi.h | ||
os_pri.c | ||
os_pri.h | ||
pc_init.h | ||
pc_maint.h | ||
pc.h | ||
pkmaint.h | ||
platform.h | ||
pr_pc.h | ||
s_4bri.c | ||
s_bri.c | ||
s_pri.c | ||
sdp_hdr.h | ||
um_idi.c | ||
um_idi.h | ||
um_xdi.h | ||
xdi_adapter.h | ||
xdi_msg.h | ||
xdi_vers.h |