You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.854, 2002-12-07 15:03:30-02:00, acme@conectiva.com.br o atm/mpc: fix up struct initialization Fixes this: net/atm/mpc.c:752: warning: braces around scalar initializer Also converts it to C99 struct style initialization mpc.c | 20 ++++++-------------- 1 files changed, 6 insertions(+), 14 deletions(-) diff -Nru a/net/atm/mpc.c b/net/atm/mpc.c --- a/net/atm/mpc.c Sat Dec 7 15:57:28 2002 +++ b/net/atm/mpc.c Sat Dec 7 15:57:28 2002 @@ -736,23 +736,15 @@ } static struct atmdev_ops mpc_ops = { /* only send is required */ - .close =mpoad_close, - .send = msg_from_mpoad + .close = mpoad_close, + .send = msg_from_mpoad }; static struct atm_dev mpc_dev = { - &mpc_ops, /* device operations */ - NULL, /* PHY operations */ - "mpc", /* device type name */ - 42, /* device index (dummy) */ - NULL, /* VCC table */ - NULL, /* last VCC */ - NULL, /* per-device data */ - NULL, /* private PHY data */ - { 0 }, /* device flags */ - NULL, /* local ATM address */ - { 0 } /* no ESI */ - /* rest of the members will be 0 */ + .ops = &mpc_ops, + .type = "mpc", + .number = 42, + /* members not explicitely initialised will be 0 */ }; int atm_mpoa_mpoad_attach (struct atm_vcc *vcc, int arg) =================================================================== This BitKeeper patch contains the following changesets: 1.854 ## Wrapped with gzip_uu ## begin 664 bkpatch15920 M'XL(`(@V\CT``^U46VO;,!1^CG[%H84]=(LMR5+D&#)ZVXT.5C+Z'!19341M MRTA*+\,_?K*[M4OH5E;V.%M@G>]<_!V=#^W#A=>N&$E5:[0/'ZT/Q4C91JM@ MKF6B;)TL773,K8V.=&UKG1Z?I;7Q:DP3CJ+K7`:UAFOM?#$B2?:`A+M6%Z/Y MNP\7GX_F",UF<+*6S4I_U0%F,Q2LNY95Z0]E6%>V28*3C:]U&'[:/81V%&,: M7TY$AOFD(Q/,1*=(28AD1)>8LGS"4,__<)?W3A5"L2`3+G#6,4I$CDZ!)#EG M@&E*:(H%$%[@K,CP&-,"8WBR*+PF,,;H&/YM`R=(@049ZK1N50&7YA8V+?C@ M-BJ`:4PPLC+?9#"VB9%QO3>WVD-8&U]$J]$A_9&4>4MQ&;C((,'$V)_<#*=_J3@PUVE=XF<`:,Y%^C\ M<;1H_)ET^/[XE*@RZB M*JCH*,=3-FAU*^QYO;Z`'Y)7;7U8FI6VORE!"&%$Q!WOF,C(=!"LV)4K%7^6 MZP3&A/W7Z[U>[P?\!<;N9EA1?^?;9%X@X%.138&B3W':\3-*5&6]'LV@;JTL M%X/U)L)>-V6/^M7BTMEZ,;AC,F-`^FS.@<4PV_H8]2J26<1MG]C?I!':B]!> M;S>;>JE=1!B-9GH`M>X!#XT-H&_;RB@3='7WT+[7)=R8JH*E!@P'Z>.UK=9: 47?E-/:-:JJ44#'T'.'Q]WQ(&```` ` end