[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100625.213428.108798305.davem@davemloft.net>
Date: Fri, 25 Jun 2010 21:34:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org,
acme@...stprotocols.net, vladislav.yasevich@...com,
herbert@...dor.apana.org.au
Subject: Re: [PATCH net-next-2.6] snmp: add align parameter to
snmp_mib_init()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 23 Jun 2010 08:58:41 +0200
> In preparation for 64bit snmp counters for some mibs,
> add an 'align' parameter to snmp_mib_init(), instead
> of assuming mibs only contain 'unsigned long' fields.
>
> Callers can use __alignof__(type) to provide correct
> alignment.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Herbert Xu <herbert@...dor.apana.org.au>
> CC: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
> CC: Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
> CC: Vlad Yasevich <vladislav.yasevich@...com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists