diff for duplicates of <20200731062057.GC1508201@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 1c3aa1b..675825f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -23,8 +23,8 @@ On Thu, Jul 30, 2020 at 01:51:48PM +0300, Oded Gabbay wrote: > > for (i = 0 ; i < hdev->asic_prop.completion_queues_count ; i++) { > > snprintf(workq_name, 32, "hl-free-jobs-%u", i); > > hdev->cq_wq[i] = create_singlethread_workqueue(workq_name); -> > - if (hdev->cq_wq = NULL) { -> > + if (hdev->cq_wq[i] = NULL) { +> > - if (hdev->cq_wq == NULL) { +> > + if (hdev->cq_wq[i] == NULL) { > > dev_err(hdev->dev, "Failed to allocate CQ workqueue\n"); > > rc = -ENOMEM; > > goto free_cq_wq; diff --git a/a/content_digest b/N1/content_digest index 30a9940..c7d8f46 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0CAFCwf101gsf3GK6f_ggNgPeKTFXEDdCYz-LugNq5mY342zc2Hw@mail.gmail.com\0" "From\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" "Subject\0Re: [PATCH][next] habanalabs: fix incorrect check on failed workqueue create\0" - "Date\0Fri, 31 Jul 2020 06:20:57 +0000\0" + "Date\0Fri, 31 Jul 2020 08:20:57 +0200\0" "To\0Oded Gabbay <oded.gabbay@gmail.com>\0" "Cc\0Colin King <colin.king@canonical.com>" Arnd Bergmann <arnd@arndb.de> @@ -38,8 +38,8 @@ "> > for (i = 0 ; i < hdev->asic_prop.completion_queues_count ; i++) {\n" "> > snprintf(workq_name, 32, \"hl-free-jobs-%u\", i);\n" "> > hdev->cq_wq[i] = create_singlethread_workqueue(workq_name);\n" - "> > - if (hdev->cq_wq = NULL) {\n" - "> > + if (hdev->cq_wq[i] = NULL) {\n" + "> > - if (hdev->cq_wq == NULL) {\n" + "> > + if (hdev->cq_wq[i] == NULL) {\n" "> > dev_err(hdev->dev, \"Failed to allocate CQ workqueue\\n\");\n" "> > rc = -ENOMEM;\n" "> > goto free_cq_wq;\n" @@ -55,4 +55,4 @@ "\n" Already merged :) -b9791e9d1ddcb17d70196dcebc546dc5347dabb9048531d075ff288a2273827f +30507cb0a833bb73e4468ce0be6775cd8e3279bf19ac01a3ffb6d8962fc956db
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.