diff for duplicates of <20200809120238.GC385599@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 6ed3134..4651e3f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,8 +27,8 @@ On Sun, Aug 09, 2020 at 02:02:18PM +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 d6aabfc..928d221 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\0CAFCwf11oAg=mhsqwnSh7vHuUeJEpEtBFKggFaRcbOFY8PhPsPA@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\0Sun, 09 Aug 2020 12:02:38 +0000\0" + "Date\0Sun, 9 Aug 2020 14:02:38 +0200\0" "To\0Oded Gabbay <oded.gabbay@gmail.com>\0" "Cc\0Colin King <colin.king@canonical.com>" Arnd Bergmann <arnd@arndb.de> @@ -44,8 +44,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" @@ -73,4 +73,4 @@ "\n" greg k-h -068ff2a8b9cb6cb73a9488f58fc5f19eef2666dfb2934159c64bdec865d59dec +1b5b6751856b5e5399fbdb7c47c4d103cb25b2f1412aa8756b55211d3b07ee51
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.