diff for duplicates of <20200428130734.GF2014@kadam> diff --git a/a/1.txt b/N1/1.txt index 2b0dd09..b6a7333 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,7 +15,7 @@ On Mon, Apr 27, 2020 at 05:29:50PM +0530, Vignesh Raghavendra wrote: > > res = \(platform_get_resource\|platform_get_resource_byname\)(pdev, t, n); > > + if (!res) > > + return -EINVAL; -> > ... when != res = NULL +> > ... when != res == NULL > > e = devm_ioremap(e1, res->start, e2); > > > > Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> diff --git a/a/content_digest b/N1/content_digest index 8e73bfb..7b383fb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0cad871c8-0915-9dda-2c61-30dfb5504d23@ti.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0Re: [PATCH -next] PCI: dwc: pci-dra7xx: Fix potential NULL dereference in dra7xx_pcie_probe()\0" - "Date\0Tue, 28 Apr 2020 13:07:34 +0000\0" + "Date\0Tue, 28 Apr 2020 16:07:34 +0300\0" "To\0Vignesh Raghavendra <vigneshr@ti.com>\0" "Cc\0Wei Yongjun <weiyongjun1@huawei.com>" Kishon Vijay Abraham I <kishon@ti.com> @@ -31,7 +31,7 @@ "> > res = \\(platform_get_resource\\|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" "> > Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>\n" @@ -63,4 +63,4 @@ "regards,\n" dan carpenter -8ee1e004e39f7bd215b9a6edfe0fa63cc6ac75cff4102bc49144781164a25440 +98010a9f2048a03da1c4500e2f9861a6ff65a1e47d760f897f7db4055688c662
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.