diff for duplicates of <b28f440e-6d11-d37e-e5de-e6dfd6bce2e9@users.sourceforge.net> diff --git a/a/1.txt b/N1/1.txt index bfa1200..2d5dda2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,7 +36,7 @@ index 93e006c3441d..5bdd67940c81 100644 dma->device_issue_pending(dma_chan); @@ -874,8 +872,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma) - if (tmo = 0 || + if (tmo == 0 || dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) { dev_err(dev, "Self-test xor timed out\n"); - err = -ENODEV; @@ -66,7 +66,7 @@ index 93e006c3441d..5bdd67940c81 100644 dma->device_issue_pending(dma_chan); @@ -942,8 +937,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma) - if (tmo = 0 || + if (tmo == 0 || dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) { dev_err(dev, "Self-test validate timed out\n"); - err = -ENODEV; @@ -96,7 +96,7 @@ index 93e006c3441d..5bdd67940c81 100644 dma->device_issue_pending(dma_chan); @@ -995,20 +987,20 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma) - if (tmo = 0 || + if (tmo == 0 || dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) { dev_err(dev, "Self-test 2nd validate timed out\n"); - err = -ENODEV; @@ -118,7 +118,7 @@ index 93e006c3441d..5bdd67940c81 100644 +failure_indication: + err = -ENODEV; dma_unmap: - if (op = IOAT_OP_XOR) { + if (op == IOAT_OP_XOR) { while (--i >= 0) -- 2.14.2 diff --git a/a/content_digest b/N1/content_digest index ebbecd1..13e68a7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0" "Subject\0[PATCH] dmaengine: ioat: Use common error handling code in ioat_xor_val_self_test()\0" - "Date\0Sun, 22 Oct 2017 15:34:28 +0000\0" + "Date\0Sun, 22 Oct 2017 17:34:28 +0200\0" "To\0dmaengine@vger.kernel.org" Arvind Yadav <arvind.yadav.cs@gmail.com> Dan Williams <dan.j.williams@intel.com> @@ -51,7 +51,7 @@ " \tdma->device_issue_pending(dma_chan);\n" " \n" "@@ -874,8 +872,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma)\n" - " \tif (tmo = 0 ||\n" + " \tif (tmo == 0 ||\n" " \t dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {\n" " \t\tdev_err(dev, \"Self-test xor timed out\\n\");\n" "-\t\terr = -ENODEV;\n" @@ -81,7 +81,7 @@ " \tdma->device_issue_pending(dma_chan);\n" " \n" "@@ -942,8 +937,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma)\n" - " \tif (tmo = 0 ||\n" + " \tif (tmo == 0 ||\n" " \t dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {\n" " \t\tdev_err(dev, \"Self-test validate timed out\\n\");\n" "-\t\terr = -ENODEV;\n" @@ -111,7 +111,7 @@ " \tdma->device_issue_pending(dma_chan);\n" " \n" "@@ -995,20 +987,20 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma)\n" - " \tif (tmo = 0 ||\n" + " \tif (tmo == 0 ||\n" " \t dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) {\n" " \t\tdev_err(dev, \"Self-test 2nd validate timed out\\n\");\n" "-\t\terr = -ENODEV;\n" @@ -133,9 +133,9 @@ "+failure_indication:\n" "+\terr = -ENODEV;\n" " dma_unmap:\n" - " \tif (op = IOAT_OP_XOR) {\n" + " \tif (op == IOAT_OP_XOR) {\n" " \t\twhile (--i >= 0)\n" "-- \n" 2.14.2 -d6c3615bd0277333b5e6a9a20860be11c2425a7e26615cf6ae19cc4265c66e0b +bc94da809bfd29de9e3f1dd4d27d3e4dfd20dc17c46c2fb3fa5cf93ad9dc4057
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.