summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/6.10-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/6.10-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/6.10-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/6.10-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch b/sys-kernel/linux-image-redcore/files/6.10-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
new file mode 100644
index 00000000..344a8c4b
--- /dev/null
+++ b/sys-kernel/linux-image-redcore/files/6.10-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,