summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-11 18:04:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-11 18:04:28 +0100
commit147c60950e13ce4876b97a4b52452e8ff6f60d9c (patch)
tree30bcfc8efff62de503e566322366611a6e162f90 /sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
parent3de2e4b05699d2e793b05de156b7162354ce6d99 (diff)
sys-kernel/linux-{image,sources}-redcore : add v5.14
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch b/sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
new file mode 100644
index 00000000..344a8c4b
--- /dev/null
+++ b/sys-kernel/linux-sources-redcore/files/5.14-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
@@ -0,0 +1,23 @@
+diff -Naur linux-4.16.5/drivers/ata/libata-core.c linux-4.16.5-p/drivers/ata/libata-core.c
+--- linux-4.16.5/drivers/ata/libata-core.c 2018-04-26 11:00:39.000000000 +0200
++++ linux-4.16.5-p/drivers/ata/libata-core.c 2018-04-28 02:19:06.632381413 +0200
+@@ -2201,7 +2201,7 @@
+ unsigned int err_mask;
+
+ if (!ata_log_supported(dev, ATA_LOG_NCQ_SEND_RECV)) {
+- ata_dev_warn(dev, "NCQ Send/Recv Log not supported\n");
++ ata_dev_dbg(dev, "NCQ Send/Recv Log not supported\n");
+ return;
+ }
+ err_mask = ata_read_log_page(dev, ATA_LOG_NCQ_SEND_RECV,
+@@ -2230,8 +2230,8 @@
+ unsigned int err_mask;
+
+ if (!ata_log_supported(dev, ATA_LOG_NCQ_NON_DATA)) {
+- ata_dev_warn(dev,
+- "NCQ Send/Recv Log not supported\n");
++ ata_dev_dbg(dev,
++ "NCQ Non-Data Log not supported\n");
+ return;
+ }
+ err_mask = ata_read_log_page(dev, ATA_LOG_NCQ_NON_DATA,