Home Home > GIT Browse > SLE12-SP3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-05-24 12:39:28 +0200
committerThomas Bogendoerfer <tbogendoerfer@suse.de>2019-05-24 12:40:02 +0200
commitb5644b7be5bc2557fab6f5c2d818e07803432a46 (patch)
treeed39e3e959ea751e52a20494cbb945b4e401b4d1
parent9342814ccd4864ba6cce5d261e9ebfb36713853f (diff)
net: ena: fix return value of ena_com_config_llq_info()SLE12-SP3
(bsc#1117562).
-rw-r--r--patches.drivers/net-ena-fix-return-value-of-ena_com_config_llq_info.patch31
-rw-r--r--series.conf1
2 files changed, 32 insertions, 0 deletions
diff --git a/patches.drivers/net-ena-fix-return-value-of-ena_com_config_llq_info.patch b/patches.drivers/net-ena-fix-return-value-of-ena_com_config_llq_info.patch
new file mode 100644
index 0000000000..eaba0b6fbe
--- /dev/null
+++ b/patches.drivers/net-ena-fix-return-value-of-ena_com_config_llq_info.patch
@@ -0,0 +1,31 @@
+From: Sameeh Jubran <sameehj@amazon.com>
+Date: Wed, 1 May 2019 16:47:07 +0300
+Subject: net: ena: fix return value of ena_com_config_llq_info()
+Patch-mainline: v5.2-rc1
+Git-commit: 9a27de0c6ba10fe1af74d16d3524425e52c1ba3e
+References: bsc#1117562
+
+ena_com_config_llq_info() returns 0 even if ena_com_set_llq() fails.
+Return the failure code of ena_com_set_llq() in case it fails.
+
+fixes: 689b2bdaaa14 ("net: ena: add functions for handling Low Latency Queues in ena_com")
+
+Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
+Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
+---
+ drivers/net/ethernet/amazon/ena/ena_com.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/ethernet/amazon/ena/ena_com.c
++++ b/drivers/net/ethernet/amazon/ena/ena_com.c
+@@ -731,7 +731,7 @@ static int ena_com_config_llq_info(struc
+ if (rc)
+ pr_err("Cannot set LLQ configuration: %d\n", rc);
+
+- return 0;
++ return rc;
+ }
+
+ static int ena_com_wait_and_process_admin_cq_interrupts(struct ena_comp_ctx *comp_ctx,
diff --git a/series.conf b/series.conf
index 8df5a5510b..f4fddd2c78 100644
--- a/series.conf
+++ b/series.conf
@@ -25364,6 +25364,7 @@
patches.fixes/block-check_events-don-t-bother-with-events-if-unsup.patch
patches.drivers/ibmvnic-Report-actual-backing-device-speed-and-duple.patch
patches.drivers/Bluetooth-hidp-fix-buffer-overflow.patch
+ patches.drivers/net-ena-fix-return-value-of-ena_com_config_llq_info.patch
patches.fixes/0001-UAS-fix-alignment-of-scatter-gather-segments.patch
patches.fixes/ipmi-ssif-compare-block-number-correctly-for-multi-p.patch
patches.fixes/0001-media-pvrusb2-Prevent-a-buffer-overflow.patch