Thomas Meyer
1daef6d27b
leds: Use kcalloc instead of kzalloc to allocate array
...
The advantage of kcalloc is that will prevent integer overflows which
could result from the multiplication of number of elements and size and it
is also a bit nicer to read.
The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Cc: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-29 16:22:31 -07:00
..
2012-05-22 16:02:13 -07:00
2012-05-26 12:22:27 -07:00
2012-05-26 12:42:29 -07:00
2012-05-06 13:13:19 -04:00
2012-05-29 16:22:19 -07:00
2012-05-24 11:54:29 -07:00
2012-05-21 20:20:23 -07:00
2012-05-24 11:54:29 -07:00
2012-05-24 12:42:54 -07:00
2012-05-26 13:05:55 -07:00
2012-05-08 12:35:06 +02:00
2012-05-26 12:42:29 -07:00
2012-05-23 14:07:06 -07:00
2012-05-26 12:57:47 -07:00
2012-05-22 11:00:09 +02:00
2012-05-22 16:02:13 -07:00
2012-05-24 12:57:47 -07:00
2012-05-03 17:19:19 -07:00
2012-05-29 11:53:11 -07:00
2012-05-24 12:42:54 -07:00
2012-05-22 19:22:50 -07:00
2012-05-22 16:02:13 -07:00
2012-05-23 14:15:09 -07:00
2012-05-26 13:35:03 -07:00
2012-05-16 15:17:08 -04:00
2012-05-14 13:37:45 -07:00
2012-05-21 17:54:55 -07:00
2012-05-29 11:53:11 -07:00
2012-05-26 12:22:27 -07:00
2012-05-24 11:54:29 -07:00
2012-05-29 16:22:31 -07:00
2012-05-09 10:58:21 +10:00
2012-05-23 17:08:40 -07:00
2012-05-26 12:42:29 -07:00
2012-05-14 12:52:52 -07:00
2012-05-17 19:06:13 -04:00
2012-05-29 11:53:11 -07:00
2012-05-29 11:53:11 -07:00
2012-05-26 12:57:47 -07:00
2012-05-26 12:42:29 -07:00
2012-05-26 12:42:29 -07:00
2012-05-15 17:30:30 -04:00
2012-05-26 13:35:03 -07:00
2012-05-22 19:22:50 -07:00
2012-05-22 16:02:13 -07:00
2012-05-24 12:42:54 -07:00
2012-05-07 09:56:39 +08:00
2012-05-26 13:05:55 -07:00
2012-05-29 16:22:30 -07:00
2012-05-29 11:53:11 -07:00
2012-05-22 19:22:50 -07:00
2012-05-29 11:53:11 -07:00
2012-05-22 19:22:50 -07:00
2012-05-29 11:53:11 -07:00
2012-05-24 16:17:30 -07:00
2012-05-23 17:12:06 -07:00
2012-05-22 19:07:55 +09:00
2012-05-26 13:05:55 -07:00
2012-05-16 12:46:37 -04:00
2012-05-29 16:22:22 -07:00
2012-05-23 16:52:27 -07:00
2012-05-29 10:42:13 -07:00
2012-05-15 08:44:58 -07:00
2012-05-26 12:42:29 -07:00
2012-05-16 22:17:37 -04:00
2012-05-29 16:22:31 -07:00
2012-05-22 12:16:15 +09:30
2012-05-08 16:01:34 -07:00
2012-05-26 12:42:29 -07:00
2012-05-29 11:53:11 -07:00
2012-05-24 16:02:08 -07:00
2012-05-22 16:34:21 -07:00
2012-05-26 12:22:27 -07:00