diff for duplicates of <20180119091604.GA21195@lenoch> diff --git a/a/1.txt b/N1/1.txt index 1a93e8c..97c7f16 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,7 @@ On Fri, Jan 19, 2018 at 08:03:38AM +0100, Ladislav Michl 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 3f05e66..5d273f5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\020180119070337.GA6079@lenoch\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 09:16:04 +0000\0" + "Date\0Fri, 19 Jan 2018 10:16:04 +0100\0" "To\0weiyongjun (A) <weiyongjun1@huawei.com>\0" "Cc\0Bjorn Helgaas <helgaas@kernel.org>" Kishon Vijay Abraham I <kishon@ti.com> @@ -36,7 +36,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" @@ -101,4 +101,4 @@ "> the body of a message to majordomo@vger.kernel.org\n" > More majordomo info at http://vger.kernel.org/majordomo-info.html -6f0fe00bc54bf6d7488e297cb178a05f412d66ff6a5b0ced7d64a07e5659d848 +0412bd36d87fad09870b08f1b1b7574f6c136da2e41916391771a6e22eca3884
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.