diff for duplicates of <1467207667-15768-16-git-send-email-ysato@users.sourceforge.jp> diff --git a/a/1.txt b/N1/1.txt index 190c66d..b124819 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -95,9 +95,10 @@ index dbf1381..0000000 - 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 */ @@ -408,7 +409,7 @@ index d5462b7..0000000 - 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, @@ -437,14 +438,14 @@ index d5462b7..0000000 - * 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 */ @@ -480,7 +481,7 @@ index d5462b7..0000000 - * 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; - - /* @@ -600,9 +601,10 @@ index 0000000..dbf1381 + 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 */ @@ -935,7 +937,7 @@ index 0000000..9cf0ba4 + 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, @@ -964,14 +966,14 @@ index 0000000..9cf0ba4 + * 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 */ @@ -1007,7 +1009,7 @@ index 0000000..9cf0ba4 + * 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 ab6e501..8b306f8 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01467207667-15768-1-git-send-email-ysato@users.sourceforge.jp\0" "From\0Yoshinori Sato <ysato@users.sourceforge.jp>\0" "Subject\0[PATCH v4 15/22] sh: Move common PCI stuff to arch/sh/kernel\0" - "Date\0Wed, 29 Jun 2016 13:41:00 +0000\0" + "Date\0Wed, 29 Jun 2016 22:41:00 +0900\0" "To\0linux-sh@vger.kernel.org" " linux-kernel@vger.kernel.org\0" "Cc\0Yoshinori Sato <ysato@users.sourceforge.jp>\0" @@ -104,9 +104,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" @@ -417,7 +418,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" @@ -446,14 +447,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" @@ -489,7 +490,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" @@ -609,9 +610,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" @@ -944,7 +946,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" @@ -973,14 +975,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" @@ -1016,7 +1018,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" @@ -1060,4 +1062,4 @@ "-- \n" 2.7.0 -9146707e79a68e32a2492203a4bc5ba0c4605f227c619b02442c323d8b58de2d +fc2702867637101936192f8497751bf80d4b803308260b3e1a141aa9290ba507
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.