[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100831183331.5a6aa508@nehalam>
Date: Tue, 31 Aug 2010 18:33:31 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Joe Perches <joe@...ches.com>
Cc: Masayuki Ohtake <masa-korg@....okisemi.com>,
Sam Ravnborg <sam@...nborg.org>,
LKML <linux-kernel@...r.kernel.org>,
ML netdev <netdev@...r.kernel.org>,
Greg Rose <gregory.v.rose@...el.com>,
Maxime Bizon <mbizon@...ebox.fr>,
Kristoffer Glembo <kristoffer@...sler.com>,
Ralf Baechle <ralf@...ux-mips.org>,
John Linn <john.linn@...inx.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
"David S. Miller" <davem@...emloft.net>,
MeeGo <meego-dev@...go.com>, "Wang, Qi" <qi.wang@...el.com>,
"Wang, Yong Y" <yong.y.wang@...el.com>,
Andrew <andrew.chih.howe.khor@...el.com>,
Intel OTC <joel.clark@...el.com>,
"Foster, Margie" <margie.foster@...el.com>,
Toshiharu Okada <okada533@....okisemi.com>,
Tomoya Morinaga <morinaga526@....okisemi.com>,
Takahiro Shimizu <shimizu394@....okisemi.com>
Subject: Re: [PATCH] drivers/net/pch_gbe: Cleanup stats use
On Tue, 31 Aug 2010 11:38:35 -0700
Joe Perches <joe@...ches.com> wrote:
> struct pch_gbe_stats {
> - signed char stat_string[ETH_GSTRING_LEN];
> - int sizeof_stat;
> - int stat_offset;
> + signed char string[ETH_GSTRING_LEN];
> + size_t size;
> + size_t offset;
> };
Is this driver really using 'signed char' here?
Should just be 'char' for a simple string.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists