From: Greg Kroah-Hartman Date: Thu, 9 Apr 2026 08:53:04 +0000 (+0200) Subject: fix up geode patch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=238ff0ec4575bb2a1ec5d87471feb1e9cdbe6d06;p=thirdparty%2Fkernel%2Fstable-queue.git fix up geode patch --- diff --git a/queue-6.12/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch b/queue-6.12/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch index 29576ae31f..a7abeb33cb 100644 --- a/queue-6.12/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch +++ b/queue-6.12/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch @@ -70,7 +70,7 @@ Signed-off-by: Greg Kroah-Hartman goto err_free_swnodes; } -+ gpio_refs = kzalloc_objs(*gpio_refs, n_leds); ++ gpio_refs = kcalloc(n_leds, sizeof(*gpio_refs), GFP_KERNEL); + if (!gpio_refs) { + err = -ENOMEM; + goto err_free_props; diff --git a/queue-6.18/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch b/queue-6.18/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch index 29576ae31f..a7abeb33cb 100644 --- a/queue-6.18/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch +++ b/queue-6.18/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch @@ -70,7 +70,7 @@ Signed-off-by: Greg Kroah-Hartman goto err_free_swnodes; } -+ gpio_refs = kzalloc_objs(*gpio_refs, n_leds); ++ gpio_refs = kcalloc(n_leds, sizeof(*gpio_refs), GFP_KERNEL); + if (!gpio_refs) { + err = -ENOMEM; + goto err_free_props; diff --git a/queue-6.19/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch b/queue-6.19/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch index 29576ae31f..a7abeb33cb 100644 --- a/queue-6.19/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch +++ b/queue-6.19/x86-platform-geode-fix-on-stack-property-data-use-after-return-bug.patch @@ -70,7 +70,7 @@ Signed-off-by: Greg Kroah-Hartman goto err_free_swnodes; } -+ gpio_refs = kzalloc_objs(*gpio_refs, n_leds); ++ gpio_refs = kcalloc(n_leds, sizeof(*gpio_refs), GFP_KERNEL); + if (!gpio_refs) { + err = -ENOMEM; + goto err_free_props;