diff for duplicates of <20160309071406.GA19555@red-moon> diff --git a/a/1.txt b/N1/1.txt index b363df7..74822a8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -115,8 +115,8 @@ On Tue, Mar 08, 2016 at 11:33:32PM -0600, Bjorn Helgaas wrote: > > >> +static bool ioport_valid(struct resource *res) > > >> { > > >> - return (res->flags & IORESOURCE_IO) && -> > >> - res->start == 0xCF8 && res->end == 0xCFF; -> > >> + return !(res->start == 0xCF8 && res->end == 0xCFF) && +> > >> - res->start = 0xCF8 && res->end = 0xCFF; +> > >> + return !(res->start = 0xCF8 && res->end = 0xCFF) && > > >> + !(res->end >= 0x10003); > > > > > > Is the "res->end >= 0x10003" test actually fixing a problem? diff --git a/a/content_digest b/N1/content_digest index d755e74..6795ce7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020160309053332.GA22228@localhost\0" "From\0Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>\0" "Subject\0Re: [PATCH v2] PCI: ACPI: IA64: fix IO port generic range check\0" - "Date\0Wed, 9 Mar 2016 07:14:06 +0000\0" + "Date\0Wed, 09 Mar 2016 07:14:06 +0000\0" "To\0Bjorn Helgaas <helgaas@kernel.org>\0" "Cc\0Rafael J. Wysocki <rafael@kernel.org>" Linux PCI <linux-pci@vger.kernel.org> @@ -136,8 +136,8 @@ "> > >> +static bool ioport_valid(struct resource *res)\n" "> > >> {\n" "> > >> - return (res->flags & IORESOURCE_IO) &&\n" - "> > >> - res->start == 0xCF8 && res->end == 0xCFF;\n" - "> > >> + return !(res->start == 0xCF8 && res->end == 0xCFF) &&\n" + "> > >> - res->start = 0xCF8 && res->end = 0xCFF;\n" + "> > >> + return !(res->start = 0xCF8 && res->end = 0xCFF) &&\n" "> > >> + !(res->end >= 0x10003);\n" "> > >\n" "> > > Is the \"res->end >= 0x10003\" test actually fixing a problem?\n" @@ -228,4 +228,4 @@ "Thanks,\n" Lorenzo -23d45b2162270bb41e5aa73a163da3f03292bf7d9168e3cb2fe42c6dde41ccd0 +f44de8c3657d61e1c72fc7cd6919f99efd74b54a5e517b64fb42cc4478910699
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.