netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] netdev: ARRAY_SIZE() cleanups
@ 2007-10-18  9:47 Alejandro Martinez Ruiz
  2007-10-18  9:49 ` [PATCH 1/3] netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN Alejandro Martinez Ruiz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alejandro Martinez Ruiz @ 2007-10-18  9:47 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

Hi,

these patches convert more cases of array size calculations to use the
ARRAY_SIZE() macro.

First patch converts those of the form 'sizeof(arr) / ETH_GSTRING_LEN',
second one some other mostly obvious cases, and the third applies to the
almost dead sk98lin driver (which also removes a useless check AFAICS).

Alex


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-25  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18  9:47 [PATCH 0/3] netdev: ARRAY_SIZE() cleanups Alejandro Martinez Ruiz
2007-10-18  9:49 ` [PATCH 1/3] netdev: use ARRAY_SIZE() instead of sizeof(array) / ETH_GSTRING_LEN Alejandro Martinez Ruiz
2007-10-25  7:39   ` Jeff Garzik
2007-10-18  9:50 ` [PATCH 2/3] netdev: ARRAY_SIZE() cleanups Alejandro Martinez Ruiz
2007-10-18  9:51 ` [PATCH 3/3] sk98lin: kill bogus check and convert to use ARRAY_SIZE() Alejandro Martinez Ruiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).