Bartosz Golaszewski
af11be05b6
edac: ghes: use krealloc_array()
...
Use the helper that checks for overflows internally instead of manually
calculating the size of the new array.
Link: https://lkml.kernel.org/r/20201109110654.12547-7-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christian Knig <christian.koenig@amd.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: David Rientjes <rientjes@google.com>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: James Morse <james.morse@arm.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: "Michael S . Tsirkin" <mst@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Robert Richter <rric@kernel.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-15 12:13:37 -08:00
..
2020-08-17 10:10:29 +02:00
2019-11-22 10:18:29 +01:00
2019-07-25 14:28:42 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-10-12 10:12:26 -07:00
2020-05-22 18:43:13 +02:00
2017-07-17 13:42:48 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2020-04-24 09:08:47 +02:00
2019-06-05 17:37:06 +02:00
2020-04-14 11:28:09 +02:00
2020-09-18 09:14:01 +02:00
2019-08-08 12:57:01 -03:00
2016-12-15 08:54:51 -02:00
2019-06-05 17:37:06 +02:00
2019-08-29 07:58:01 +01:00
2020-02-19 21:00:27 +01:00
2017-07-17 13:42:48 +02:00
2020-08-17 09:31:19 +02:00
2020-06-17 15:38:35 +02:00
2019-10-09 13:01:42 +02:00
2019-10-09 13:01:42 +02:00
2020-09-18 09:14:01 +02:00
2020-06-15 11:19:52 -07:00
2020-02-17 13:05:10 +01:00
2017-10-31 15:30:37 +01:00
2020-02-17 12:32:44 +01:00
2020-06-17 15:38:35 +02:00
2016-12-24 11:46:01 -08:00
2016-12-15 08:54:51 -02:00
2018-12-19 11:57:45 +01:00
2018-12-19 11:57:45 +01:00
2020-12-15 12:13:37 -08:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:29:52 -07:00
2020-10-12 10:12:26 -07:00
2020-06-15 14:50:39 -07:00
2020-01-06 09:45:59 +01:00
2020-01-06 09:45:59 +01:00
2019-11-09 10:32:32 +01:00
2020-09-01 12:10:19 +02:00
2020-08-17 09:31:19 +02:00
2020-08-17 09:31:19 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2017-07-17 13:42:48 +02:00
2020-01-06 09:45:59 +01:00
2020-08-17 09:31:19 +02:00
2020-08-17 10:10:29 +02:00
2016-12-15 08:54:51 -02:00
2020-08-17 10:10:29 +02:00
2020-10-12 10:14:38 -07:00
2020-04-14 15:53:46 +02:00
2017-02-03 10:36:35 +01:00
2016-09-01 10:28:00 +02:00
2018-01-09 20:14:23 +01:00
2016-12-15 08:54:51 -02:00
2017-11-27 11:57:26 +01:00
2016-12-15 08:54:51 -02:00
2016-12-15 08:54:51 -02:00
2019-06-05 17:37:06 +02:00
2020-08-23 17:36:59 -05:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:37:17 +02:00
2018-11-06 12:03:16 +01:00
2017-07-17 13:42:48 +02:00
2020-10-12 10:12:26 -07:00
2020-01-27 09:16:22 -08:00
2020-06-15 14:50:39 -07:00
2020-08-18 15:40:30 +02:00
2020-06-01 11:39:15 +02:00
2020-03-17 14:32:31 +01:00
2020-08-17 10:35:46 +02:00
2020-09-01 20:43:20 +02:00
2019-05-21 10:50:45 +02:00
2020-01-06 09:45:59 +01:00
2020-04-14 14:35:19 +02:00