diff for duplicates of <20160309053332.GA22228@localhost> diff --git a/a/1.txt b/N1/1.txt index 3aa459a..8bad598 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 5456fa2..a320bb7 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 23:33:32 -0600\0" + "Date\0Wed, 09 Mar 2016 05:33:32 +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" @@ -207,4 +207,4 @@ "\n" Bjorn -b5abce55138bdf8da2c2afcb0f1bd97e00cde08c5fb66c6e5adcd22b3ab92db9 +a708f3f1715aca85c072f152dd8240a391298502c0134d93a82eb18046775a99
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.