summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/6.3-ata-fix-NCQ-LOG-strings-and-move-to-debug.patch
blob: 344a8c4b5ec2d29bf3023970ab0f7aceb76ed8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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,