Bjorn Helgaas 9c3bd6833a [IRDA]: Replace hard-coded dev_self[] array sizes with ARRAY_SIZE()
Several IR drivers used "for (i = 0; i < 4; i++)" to walk their
dev_self[] table.  Better to use ARRAY_SIZE().  And fix ali-ircc so it
won't run off the end if we find too many adapters.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22 14:54:45 -07:00
..
2006-08-19 17:40:15 -04:00
2006-08-19 17:44:31 -04:00
2006-08-19 17:40:16 -04:00
2006-06-26 18:35:02 +02:00
2006-07-05 14:29:26 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-06-22 23:16:13 -04:00
2006-06-17 21:30:47 -07:00
2006-08-17 16:29:51 -07:00
2006-03-20 22:34:09 -08:00
2006-08-19 17:40:15 -04:00
2006-07-05 14:08:08 -04:00
2006-09-11 09:08:38 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-08-19 17:40:15 -04:00
2006-04-02 13:52:48 +02:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:44:28 -04:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:16 -04:00
2006-07-08 13:34:32 -07:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-03-25 08:22:52 -08:00
2006-08-19 17:40:16 -04:00
2006-08-19 17:40:17 -04:00
2006-07-05 14:08:08 -04:00
2006-03-03 21:33:57 -05:00
2006-05-02 15:16:36 -04:00
2006-08-03 17:27:26 -04:00
2005-11-11 08:31:35 -05:00
2006-03-03 21:33:57 -05:00
2006-08-19 17:40:17 -04:00
2006-08-19 17:44:29 -04:00
2006-08-19 17:44:30 -04:00
2006-06-23 02:06:41 -07:00
2006-08-31 15:45:48 +10:00
2006-08-19 17:44:28 -04:00
2006-03-20 22:34:25 -08:00
2006-08-29 21:23:32 -07:00
2006-09-22 14:54:39 -07:00
2006-08-07 21:46:02 -07:00
2006-08-19 17:40:17 -04:00