FAILED: patch "[PATCH] nouveau/gsp: drop WARN_ON in ACPI probes" failed to apply to 6.12-stable tree
Subsystems (4)
[email protected]
maintainerThe patch below does not apply to the 6.12-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.12.y
git checkout FETCH_HEAD
git cherry-pick -x 9478c166c46934160135e197b049b5a05753f2ad
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026031717-hydrant-dreaded-5b32@gregkh' --subject-prefix 'PATCH 6.12.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 9478c166c46934160135e197b049b5a05753f2ad Mon Sep 17 00:00:00 2001
From: Dave Airlie <[email protected]>
Date: Thu, 21 Nov 2024 11:46:01 +1000
Subject: [PATCH] nouveau/gsp: drop WARN_ON in ACPI probes
These WARN_ONs seem to trigger a lot, and we don't seem to have a plan to fix them, so just drop them, as they are most likely harmless.
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c +6 -6
@@ -737,8 +737,8 @@ r535_gsp_acpi_caps(acpi_handle handle, CAPS_METHOD_DATA *caps)if (!obj) goto done; -if (WARN_ON (obj->type !=ACPI_TYPE_BUFFER ) || -WARN_ON (obj->buffer.length !=4 )) +if (obj->type !=ACPI_TYPE_BUFFER || + obj->buffer.length !=4 ) goto done; caps->status =0 ;
@@ -773,8 +773,8 @@ r535_gsp_acpi_jt(acpi_handle handle, JT_METHOD_DATA *jt)if (!obj) goto done; -if (WARN_ON (obj->type !=ACPI_TYPE_BUFFER ) || -WARN_ON (obj->buffer.length !=4 )) +if (obj->type !=ACPI_TYPE_BUFFER || + obj->buffer.length !=4 ) goto done; jt->status =0 ;
@@ -861,8 +861,8 @@ r535_gsp_acpi_dod(acpi_handle handle, DOD_METHOD_DATA *dod) _DOD = output.pointer; -if (WARN_ON (_DOD->type !=ACPI_TYPE_PACKAGE ) || -WARN_ON (_DOD->package.count >ARRAY_SIZE (dod->acpiIdList))) +if (_DOD->type !=ACPI_TYPE_PACKAGE || + _DOD->package.count >ARRAY_SIZE (dod->acpiIdList))return ;for (int i =0 ; i < _DOD->package.count; i++) {