diff for duplicates of <871t36n3kn.wl-ysato@users.sourceforge.jp> diff --git a/a/1.txt b/N1/1.txt index 9bb54ba..53e759e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -96,9 +96,10 @@ Rich Felker wrote: > > - if (PCI_FUNC(pci_devfn)) > > - continue; > > - if (early_read_config_word(hose, top_bus, current_bus, -> > - pci_devfn, PCI_VENDOR_ID, &vid) !> > - PCIBIOS_SUCCESSFUL) +> > - pci_devfn, PCI_VENDOR_ID, &vid) != +> > - PCIBIOS_SUCCESSFUL) > > - continue; -> > - if (vid = 0xffff) +> > - if (vid == 0xffff) > > - continue; > > - > > - /* check 66MHz capability */ @@ -409,7 +410,7 @@ Rich Felker wrote: > > - pci_devfn, PCI_STATUS, &status); > > - if (ret != PCIBIOS_SUCCESSFUL) > > - continue; -> > - if (status = 0xffff) +> > - if (status == 0xffff) > > - continue; > > - > > - early_write_config_word(hose, top_bus, current_bus, @@ -438,14 +439,14 @@ Rich Felker wrote: > > - * ignore host bridge - we handle > > - * that separately > > - */ -> > - if (dev->bus->number = 0 && dev->devfn = 0) +> > - if (dev->bus->number == 0 && dev->devfn == 0) > > - continue; > > - > > - pci_read_config_word(dev, PCI_STATUS, &status); -> > - if (status = 0xffff) +> > - if (status == 0xffff) > > - continue; > > - -> > - if ((status & status_mask) = 0) +> > - if ((status & status_mask) == 0) > > - continue; > > - > > - /* clear the status errors */ @@ -481,7 +482,7 @@ Rich Felker wrote: > > - * this platform but for now we elect not to do this and portable > > - * drivers should not do this anyway. > > - */ -> > - if (mmap_state = pci_mmap_io) +> > - if (mmap_state == pci_mmap_io) > > - return -EINVAL; > > - > > - /* @@ -601,9 +602,10 @@ Rich Felker wrote: > > + if (PCI_FUNC(pci_devfn)) > > + continue; > > + if (early_read_config_word(hose, top_bus, current_bus, -> > + pci_devfn, PCI_VENDOR_ID, &vid) !> > + PCIBIOS_SUCCESSFUL) +> > + pci_devfn, PCI_VENDOR_ID, &vid) != +> > + PCIBIOS_SUCCESSFUL) > > + continue; -> > + if (vid = 0xffff) +> > + if (vid == 0xffff) > > + continue; > > + > > + /* check 66MHz capability */ @@ -936,7 +938,7 @@ Rich Felker wrote: > > + pci_devfn, PCI_STATUS, &status); > > + if (ret != PCIBIOS_SUCCESSFUL) > > + continue; -> > + if (status = 0xffff) +> > + if (status == 0xffff) > > + continue; > > + > > + early_write_config_word(hose, top_bus, current_bus, @@ -965,14 +967,14 @@ Rich Felker wrote: > > + * ignore host bridge - we handle > > + * that separately > > + */ -> > + if (dev->bus->number = 0 && dev->devfn = 0) +> > + if (dev->bus->number == 0 && dev->devfn == 0) > > + continue; > > + > > + pci_read_config_word(dev, PCI_STATUS, &status); -> > + if (status = 0xffff) +> > + if (status == 0xffff) > > + continue; > > + -> > + if ((status & status_mask) = 0) +> > + if ((status & status_mask) == 0) > > + continue; > > + > > + /* clear the status errors */ @@ -1008,7 +1010,7 @@ Rich Felker wrote: > > + * this platform but for now we elect not to do this and portable > > + * drivers should not do this anyway. > > + */ -> > + if (mmap_state = pci_mmap_io) +> > + if (mmap_state == pci_mmap_io) > > + return -EINVAL; > > + > > + /* diff --git a/a/content_digest b/N1/content_digest index 90a4e14..a79152b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020160704015512.GP15995@brightrain.aerifal.cx\0" "From\0Yoshinori Sato <ysato@users.sourceforge.jp>\0" "Subject\0Re: [PATCH v5 15/22] sh: Move common PCI stuff to arch/sh/kernel\0" - "Date\0Wed, 06 Jul 2016 16:17:44 +0000\0" + "Date\0Thu, 07 Jul 2016 01:17:44 +0900\0" "To\0Rich Felker <dalias@libc.org>\0" "Cc\0linux-sh@vger.kernel.org" " linux-kernel@vger.kernel.org\0" @@ -107,9 +107,10 @@ "> > -\t\tif (PCI_FUNC(pci_devfn))\n" "> > -\t\t\tcontinue;\n" "> > -\t\tif (early_read_config_word(hose, top_bus, current_bus,\n" - "> > -\t\t\t\t\t pci_devfn, PCI_VENDOR_ID, &vid) !> > -\t\t PCIBIOS_SUCCESSFUL)\n" + "> > -\t\t\t\t\t pci_devfn, PCI_VENDOR_ID, &vid) !=\n" + "> > -\t\t PCIBIOS_SUCCESSFUL)\n" "> > -\t\t\tcontinue;\n" - "> > -\t\tif (vid = 0xffff)\n" + "> > -\t\tif (vid == 0xffff)\n" "> > -\t\t\tcontinue;\n" "> > -\n" "> > -\t\t/* check 66MHz capability */\n" @@ -420,7 +421,7 @@ "> > -\t\t\t\t\t pci_devfn, PCI_STATUS, &status);\n" "> > -\t\tif (ret != PCIBIOS_SUCCESSFUL)\n" "> > -\t\t\tcontinue;\n" - "> > -\t\tif (status = 0xffff)\n" + "> > -\t\tif (status == 0xffff)\n" "> > -\t\t\tcontinue;\n" "> > -\n" "> > -\t\tearly_write_config_word(hose, top_bus, current_bus,\n" @@ -449,14 +450,14 @@ "> > -\t\t * ignore host bridge - we handle\n" "> > -\t\t * that separately\n" "> > -\t\t */\n" - "> > -\t\tif (dev->bus->number = 0 && dev->devfn = 0)\n" + "> > -\t\tif (dev->bus->number == 0 && dev->devfn == 0)\n" "> > -\t\t\tcontinue;\n" "> > -\n" "> > -\t\tpci_read_config_word(dev, PCI_STATUS, &status);\n" - "> > -\t\tif (status = 0xffff)\n" + "> > -\t\tif (status == 0xffff)\n" "> > -\t\t\tcontinue;\n" "> > -\n" - "> > -\t\tif ((status & status_mask) = 0)\n" + "> > -\t\tif ((status & status_mask) == 0)\n" "> > -\t\t\tcontinue;\n" "> > -\n" "> > -\t\t/* clear the status errors */\n" @@ -492,7 +493,7 @@ "> > -\t * this platform but for now we elect not to do this and portable\n" "> > -\t * drivers should not do this anyway.\n" "> > -\t */\n" - "> > -\tif (mmap_state = pci_mmap_io)\n" + "> > -\tif (mmap_state == pci_mmap_io)\n" "> > -\t\treturn -EINVAL;\n" "> > -\n" "> > -\t/*\n" @@ -612,9 +613,10 @@ "> > +\t\tif (PCI_FUNC(pci_devfn))\n" "> > +\t\t\tcontinue;\n" "> > +\t\tif (early_read_config_word(hose, top_bus, current_bus,\n" - "> > +\t\t\t\t\t pci_devfn, PCI_VENDOR_ID, &vid) !> > +\t\t PCIBIOS_SUCCESSFUL)\n" + "> > +\t\t\t\t\t pci_devfn, PCI_VENDOR_ID, &vid) !=\n" + "> > +\t\t PCIBIOS_SUCCESSFUL)\n" "> > +\t\t\tcontinue;\n" - "> > +\t\tif (vid = 0xffff)\n" + "> > +\t\tif (vid == 0xffff)\n" "> > +\t\t\tcontinue;\n" "> > +\n" "> > +\t\t/* check 66MHz capability */\n" @@ -947,7 +949,7 @@ "> > +\t\t\t\t\t pci_devfn, PCI_STATUS, &status);\n" "> > +\t\tif (ret != PCIBIOS_SUCCESSFUL)\n" "> > +\t\t\tcontinue;\n" - "> > +\t\tif (status = 0xffff)\n" + "> > +\t\tif (status == 0xffff)\n" "> > +\t\t\tcontinue;\n" "> > +\n" "> > +\t\tearly_write_config_word(hose, top_bus, current_bus,\n" @@ -976,14 +978,14 @@ "> > +\t\t * ignore host bridge - we handle\n" "> > +\t\t * that separately\n" "> > +\t\t */\n" - "> > +\t\tif (dev->bus->number = 0 && dev->devfn = 0)\n" + "> > +\t\tif (dev->bus->number == 0 && dev->devfn == 0)\n" "> > +\t\t\tcontinue;\n" "> > +\n" "> > +\t\tpci_read_config_word(dev, PCI_STATUS, &status);\n" - "> > +\t\tif (status = 0xffff)\n" + "> > +\t\tif (status == 0xffff)\n" "> > +\t\t\tcontinue;\n" "> > +\n" - "> > +\t\tif ((status & status_mask) = 0)\n" + "> > +\t\tif ((status & status_mask) == 0)\n" "> > +\t\t\tcontinue;\n" "> > +\n" "> > +\t\t/* clear the status errors */\n" @@ -1019,7 +1021,7 @@ "> > +\t * this platform but for now we elect not to do this and portable\n" "> > +\t * drivers should not do this anyway.\n" "> > +\t */\n" - "> > +\tif (mmap_state = pci_mmap_io)\n" + "> > +\tif (mmap_state == pci_mmap_io)\n" "> > +\t\treturn -EINVAL;\n" "> > +\n" "> > +\t/*\n" @@ -1081,4 +1083,4 @@ "Yoshinori Sato\n" <ysato@users.sourceforge.jp> -671a158b0707bd426da13f0a66058425b2c700d4db2021e93a55f1a92a983b9c +561a2729b5be31036090251354f405125481392d79f149899a72d7a37791e8cb
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.