Re: [PATCH 02/16] trivial: use ARRAY_SIZE

From: Stephen Hemminger
Date: Wed Jun 30 2010 - 16:49:42 EST


On Mon, 28 Jun 2010 15:54:48 +0400
Kulikov Vasiliy <segooon@xxxxxxxxx> wrote:

> static unsigned short patterns[] =
> {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696};

Unrelated, but these patterns should be const.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/