summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-31 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-31 06:06:27 +0000
commit4b32f160bc40db2f938ace7c46675aae1e555757 (patch)
tree82cb3cc5e087b587151a3dfdb341f16e389f831a /sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch
parent03aeee4f84e9c065db81e0eff914fe7ba8ae7d30 (diff)
sys-kernel/linux-{image,sources}-redcore : version bump to v5.4.5, enable aditional hardening options
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch b/sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch
new file mode 100644
index 00000000..64c773ab
--- /dev/null
+++ b/sys-kernel/linux-image-redcore/files/5.4-acpi-use-kern_warning_even_when_error.patch
@@ -0,0 +1,18 @@
+diff -Naur linux-5.1/include/acpi/platform/aclinux.h linux-5.1-p/include/acpi/platform/aclinux.h
+--- linux-5.1/include/acpi/platform/aclinux.h 2019-05-06 02:42:58.000000000 +0200
++++ linux-5.1-p/include/acpi/platform/aclinux.h 2019-05-07 09:49:23.980444601 +0200
+@@ -153,12 +153,12 @@
+ #define ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_get_next_filename
+ #define ACPI_USE_ALTERNATE_PROTOTYPE_acpi_os_close_directory
+
+-#define ACPI_MSG_ERROR KERN_ERR "ACPI Error: "
++#define ACPI_MSG_ERROR KERN_WARNING "ACPI Error: "
+ #define ACPI_MSG_EXCEPTION KERN_ERR "ACPI Exception: "
+ #define ACPI_MSG_WARNING KERN_WARNING "ACPI Warning: "
+ #define ACPI_MSG_INFO KERN_INFO "ACPI: "
+
+-#define ACPI_MSG_BIOS_ERROR KERN_ERR "ACPI BIOS Error (bug): "
++#define ACPI_MSG_BIOS_ERROR KERN_WARNING "ACPI BIOS Error (bug): "
+ #define ACPI_MSG_BIOS_WARNING KERN_WARNING "ACPI BIOS Warning (bug): "
+
+ /*