Joe Perches
e367455a9f
checkpatch: emit fewer kmalloc_array/kcalloc conversion warnings
...
Avoid matching allocs that appear to be known small multiplications of a
sizeof with a constant because gcc as of 4.8 cannot optimize the code in
a calloc() exactly the same way as an alloc().
Look for numeric constants or what appear to be upper case only macro
#defines.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Theodore Ts'o <tytso@mit.edu>
Original-patch-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-06 18:01:28 -07:00
..
2014-06-10 14:00:53 +02:00
2014-06-19 20:01:36 -07:00
2014-06-10 00:04:06 +02:00
2014-04-03 16:20:52 -07:00
2014-06-12 21:29:20 -07:00
2014-06-12 21:29:20 -07:00
2014-06-18 21:36:36 +02:00
2014-06-10 00:04:06 +02:00
2014-07-19 17:39:19 +10:00
2014-01-17 01:47:26 +01:00
2013-09-25 17:17:01 +01:00
2013-11-07 10:47:13 +01:00
2014-04-08 17:15:15 +02:00
2013-08-28 17:00:47 +02:00
2014-08-06 18:01:28 -07:00
2014-06-10 00:04:06 +02:00
2014-05-20 10:59:38 +02:00
2013-07-03 22:58:20 +02:00
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-06-10 15:29:43 -07:00
2013-04-29 15:54:27 -07:00
2013-02-22 11:52:31 +01:00
2013-09-01 21:24:51 +02:00
2014-06-10 14:00:53 +02:00
2014-01-08 15:21:29 +00:00
2014-02-13 20:25:02 -08:00
2014-03-04 07:55:48 -08:00
2014-07-08 14:47:17 -07:00
2014-01-23 16:36:55 -08:00
2013-05-17 22:10:35 +02:00
2014-06-10 00:04:06 +02:00
2014-06-10 14:00:53 +02:00
2014-04-07 17:52:31 -07:00
2014-07-12 11:30:36 -07:00
2014-02-13 20:25:00 -08:00
2014-03-17 14:55:27 +10:30
2014-06-09 23:24:59 +02:00
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-04-16 23:28:41 +02:00
2014-05-14 22:43:04 +02:00
2013-05-17 22:10:35 +02:00
2014-06-12 21:29:20 -07:00
2014-04-30 17:34:32 +02:00
2012-11-06 11:52:24 +10:30
2013-09-23 15:45:03 +09:30
2012-12-14 13:05:28 +10:30
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2014-04-30 16:45:16 +02:00
2014-06-10 00:04:06 +02:00
2014-06-10 14:59:33 +02:00
2014-04-30 17:34:32 +02:00
2014-06-10 00:04:06 +02:00
2014-06-12 21:29:20 -07:00
2014-06-26 10:48:19 +01:00
2014-05-29 09:04:31 +01:00
2014-01-03 14:48:42 +01:00
2014-06-10 00:04:06 +02:00
2013-01-25 16:55:36 +10:30
2014-04-02 01:35:50 +04:00
2013-11-13 12:09:00 +09:00
2014-06-10 14:00:53 +02:00