summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/6.5-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-15 15:14:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-15 15:14:49 +0100
commite332232353c77f0271184a585eb6ca0c64a9a8bb (patch)
tree337e248f739fb117c8529482afd86552e099f2d5 /sys-kernel/linux-sources-redcore/files/6.5-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
parentb579cc4bb8052fd41e8db03120951724083dee5d (diff)
sys-kernel/linux-{image,sources}-redcore : add v6.5.x
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/6.5-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/6.5-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/6.5-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch b/sys-kernel/linux-sources-redcore/files/6.5-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/6.5-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,