edac-ghes-use-krealloc_array.patch removed from -mm tree
The patch titled
Subject: edac: ghes: use krealloc_array()
has been removed from the -mm tree. Its filename was
edac-ghes-use-krealloc_array.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Bartosz Golaszewski <[email protected]>
Subject: edac: ghes: use krealloc_array()
Use the helper that checks for overflows internally instead of manually calculating the size of the new array.
Signed-off-by Bartosz Golaszewski <[email protected]>
Acked-by Borislav Petkov <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Christian Knig <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc David Airlie <[email protected]>
Cc David Rientjes <[email protected]>
Cc Gustavo Padovan <[email protected]>
Cc James Morse <[email protected]>
Cc Jaroslav Kysela <[email protected]>
Cc Jason Wang <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc "Michael S . Tsirkin" <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc Robert Richter <[email protected]>
Cc Sumit Semwal <[email protected]>
Cc Takashi Iwai <[email protected]>
Cc Takashi Iwai <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Tony Luck <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/edac/ghes_edac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/ghes_edac.c renamed from drivers/edac/ghes_edac.c~edac-ghes-use-krealloc_array +2 -2
@@ -207,8 +207,8 @@ static void enumerate_dimms(const structif (!hw->num_dimms || !(hw->num_dimms %16 )) {struct dimm_info *new; - new =krealloc (hw->dimms, (hw->num_dimms +16 ) *sizeof (struct dimm_info ), -GFP_KERNEL ); + new =krealloc_array (hw->dimms, hw->num_dimms +16 , +sizeof (struct dimm_info ),GFP_KERNEL );if (!new) {WARN_ON_ONCE (1 );return ;
_
Patches currently in -mm which might be from [email protected] are