Subject: Re: [PATCH 1/3] NetXen: driver cleanup, removed unnecessary __iomem type casts

From: Stephen Hemminger <[email-masked]>
Date: Fri, 01 Dec 2006 08:15:43 -0800

Amit S. Kale wrote:

> +#define NUM_SUPPORTED_BOARDS (sizeof(netxen_boards)/sizeof(struct netxen_brdinfo
>   
You could use ARRAYSIZE(netxen_boards) for this you know.