diff for duplicates of <20180119070337.GA6079@lenoch> diff --git a/a/1.txt b/N1/1.txt index ccdf768..2c758e4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,7 @@ On Fri, Jan 19, 2018 at 01:54:58AM +0000, weiyongjun (A) 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 7afe6ac..c38df41 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\06AADFAC011213A4C87B956458587ADB401337E23@dggemi507-mbx.china.huawei.com\0" "From\0Ladislav Michl <ladis@linux-mips.org>\0" "Subject\0Re: [PATCH -next] PCI: dra7xx: Fix potential NULL dereference\0" - "Date\0Fri, 19 Jan 2018 07:03:38 +0000\0" + "Date\0Fri, 19 Jan 2018 08:03:38 +0100\0" "To\0weiyongjun (A) <weiyongjun1@huawei.com>\0" "Cc\0Bjorn Helgaas <helgaas@kernel.org>" Kishon Vijay Abraham I <kishon@ti.com> @@ -34,7 +34,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" @@ -88,4 +88,4 @@ "> > is missing fixed).\n" > > -9afa9e9ccf66ea33c3e4b5e1f6afbcde0d18cfbd0e73c1d1490aa9f8da2f2885 +583cc06812448236213d85d4adcc4bc9cf0226a6b9facd48940d5c6a7e480afa
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.