Kees Cook
329e098939
treewide: Replace more open-coded allocation size multiplications
...
As done treewide earlier, this catches several more open-coded
allocation size calculations that were added to the kernel during the
merge window. This performs the following mechanical transformations
using Coccinelle:
kvmalloc(a * b, ...) -> kvmalloc_array(a, b, ...)
kvzalloc(a * b, ...) -> kvcalloc(a, b, ...)
devm_kzalloc(..., a * b, ...) -> devm_kcalloc(..., a, b, ...)
Signed-off-by: Kees Cook <keescook@chromium.org>
2018-10-05 18:06:30 -07:00
..
2018-08-18 11:04:51 -07:00
2017-11-13 21:05:31 -08:00
2018-07-13 15:36:32 +02:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-02-28 13:30:09 +01:00
2017-11-08 13:08:12 +01:00
2018-05-14 13:41:05 +02:00
2017-11-02 11:10:55 +01:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-08 13:08:12 +01:00
2018-02-28 15:29:59 +01:00
2018-06-12 16:19:22 -07:00
2017-11-08 13:08:12 +01:00
2017-11-15 11:36:08 -08:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-08 13:08:12 +01:00
2018-05-14 13:41:05 +02:00
2017-11-08 13:08:12 +01:00
2018-02-28 15:29:59 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-21 15:57:07 -08:00
2017-11-08 13:08:12 +01:00
2018-06-28 21:02:38 +09:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00
2018-05-14 13:51:12 +02:00
2017-11-21 15:57:07 -08:00
2017-11-15 13:46:33 -08:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-04-04 18:43:49 -07:00
2018-06-28 21:07:54 +09:00
2017-11-21 15:57:07 -08:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-28 15:32:33 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-05-14 13:41:05 +02:00
2017-11-21 15:57:07 -08:00
2018-04-30 05:14:55 -07:00
2018-03-09 11:01:19 -08:00
2017-11-08 13:08:12 +01:00
2018-01-09 16:45:17 +01:00
2017-11-08 13:08:12 +01:00
2018-06-12 16:19:22 -07:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-21 15:57:07 -08:00
2018-06-28 21:07:54 +09:00
2018-10-05 18:06:30 -07:00
2018-06-12 16:19:22 -07:00
2017-11-21 15:57:07 -08:00
2018-05-24 18:37:56 +02:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-04-25 14:56:12 +02:00
2018-07-07 17:52:26 +02:00
2018-07-13 11:26:43 +02:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-08-02 10:07:09 +02:00
2018-04-23 10:08:18 +02:00
2018-02-28 15:30:00 +01:00
2017-11-08 13:08:12 +01:00
2017-11-21 15:57:07 -08:00
2017-11-08 13:08:12 +01:00
2018-04-22 17:29:43 +02:00
2018-03-15 17:39:43 +01:00
2018-03-14 13:35:37 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-08-02 10:08:43 +02:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2018-06-28 21:23:44 +09:00
2017-11-08 13:08:12 +01:00
2017-11-02 11:10:55 +01:00