diff for duplicates of <20160308231124.GB11153@localhost> diff --git a/a/1.txt b/N1/1.txt index 8351bd4..d847b0f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -114,8 +114,8 @@ On Tue, Mar 08, 2016 at 11:27:01PM +0100, Rafael J. Wysocki 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 cd2f8d7..20983a0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0CAJZ5v0gnDnF_4z_mtZp+Tq8-V3FgG6p7kMykqtVA+s44ukkuaA@mail.gmail.com\0" "From\0Bjorn Helgaas <helgaas@kernel.org>\0" "Subject\0Re: [PATCH v2] PCI: ACPI: IA64: fix IO port generic range check\0" - "Date\0Tue, 8 Mar 2016 17:11:24 -0600\0" + "Date\0Tue, 08 Mar 2016 23:11:24 +0000\0" "To\0Rafael J. Wysocki <rafael@kernel.org>\0" "Cc\0Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>" Linux PCI <linux-pci@vger.kernel.org> @@ -134,8 +134,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" @@ -162,4 +162,4 @@ "\n" Bjorn -ea3ff1157fe9f574c4f73c3f29d4eb971c609c9ae038394c6a2fd63bdb2ac15f +3a9dba9b49c539ee3c211dfebf96d9c9fdd006d44e2fc44e7bf574f414ad76ab
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.