diff for duplicates of <20180118145420.GA21163@lenoch> diff --git a/a/1.txt b/N1/1.txt index 2318a6d..02916ee 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,7 +12,7 @@ On Thu, Jan 18, 2018 at 02:00:37PM +0000, Wei Yongjun 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 de8ff13..04af47f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01516284037-81537-1-git-send-email-weiyongjun1@huawei.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 14:54:20 +0000\0" + "Date\0Thu, 18 Jan 2018 15:54:20 +0100\0" "To\0Wei Yongjun <weiyongjun1@huawei.com>\0" "Cc\0Kishon Vijay Abraham I <kishon@ti.com>" Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> @@ -25,7 +25,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" @@ -75,4 +75,4 @@ "> the body of a message to majordomo@vger.kernel.org\n" > More majordomo info at http://vger.kernel.org/majordomo-info.html -512952f5a6aa523b714124a04b7f683299a2b55c057ec2c0b17266daf01bfd15 +9f16bc0d1e2cc1b63d40494d3c5e92dee32b6c2ea6908824e325b1f414995b8f
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.