diff for duplicates of <20180118213417.GA30723@lenoch> diff --git a/a/1.txt b/N1/1.txt index 7292942..90c7a7c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ On Thu, Jan 18, 2018 at 12:35:25PM -0600, Bjorn Helgaas wrote: > > > res = platform_get_resource_byname(pdev, t, n); > > > + if (!res) > > > + return -EINVAL; -> > > ... when != res = NULL +> > > ... when != res == NULL > > > e = devm_ioremap(e1, res->start, e2); > > > > Well, then it should be replaced with devm_ioremap_resource() diff --git a/a/content_digest b/N1/content_digest index f13bc6b..f08f705 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020180118183525.GG53542@bhelgaas-glaptop.roam.corp.google.com\0" "From\0Ladislav Michl <ladis@linux-mips.org>\0" "Subject\0Re: [PATCH -next] PCI: dra7xx: Fix potential NULL dereference\0" - "Date\0Thu, 18 Jan 2018 21:34:17 +0000\0" + "Date\0Thu, 18 Jan 2018 22:34:17 +0100\0" "To\0Bjorn Helgaas <helgaas@kernel.org>\0" "Cc\0Wei Yongjun <weiyongjun1@huawei.com>" Kishon Vijay Abraham I <kishon@ti.com> @@ -30,7 +30,7 @@ "> > > res = platform_get_resource_byname(pdev, t, n);\n" "> > > + if (!res)\n" "> > > + return -EINVAL;\n" - "> > > ... when != res = NULL\n" + "> > > ... when != res == NULL\n" "> > > e = devm_ioremap(e1, res->start, e2);\n" "> > \n" "> > Well, then it should be replaced with devm_ioremap_resource()\n" @@ -110,4 +110,4 @@ "> the body of a message to majordomo@vger.kernel.org\n" > More majordomo info at http://vger.kernel.org/majordomo-info.html -75c90463598e8fcefcbf1dc8908a4ec76eb85764b31c4c9ca5079321c959998b +f61f642c19e28e931b7b68e5bf7f07c22fec2312aafd2c0364836f32d4c9800f
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.