diff for duplicates of <51BE7C01.802@huawei.com> diff --git a/a/1.txt b/N1/1.txt index fd4c08a..9e8f490 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -73,12 +73,12 @@ Yijing. >>> - unsigned int new_count; >>> - struct pci_window *new_window; >>> - ->>> - if (count = 0) +>>> - if (count == 0) >>> - return; >>> - idx = controller->windows; >>> - new_count = controller->windows + count; >>> - new_window = kcalloc(new_count, sizeof(struct pci_window), GFP_KERNEL); ->>> - BUG_ON(new_window = NULL); +>>> - BUG_ON(new_window == NULL); >>> - if (controller->window) { >>> - memcpy(new_window, controller->window, >>> - sizeof(struct pci_window) * controller->windows); @@ -87,7 +87,7 @@ Yijing. >>> - >>> - /* Setup a pci_window for each device resource. */ >>> - for (i = 0; i <= PCI_ROM_RESOURCE; i++) { ->>> - if (pci_addrs[i] = -1) +>>> - if (pci_addrs[i] == -1) >>> - continue; >>> - >>> - new_window[idx].offset = dev->resource[i].start - pci_addrs[i]; @@ -124,7 +124,7 @@ Yijing. >>> @@ -237,11 +192,8 @@ sn_io_slot_fixup(struct pci_dev *dev) >>> end = dev->resource[idx].end; >>> size = end - start; ->>> if (size = 0) { +>>> if (size == 0) { >>> - pci_addrs[idx] = -1; >>> continue; >>> } diff --git a/a/content_digest b/N1/content_digest index 53ede5b..85f0e49 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,12 +4,12 @@ "ref\0CAErSpo7A9rtww6rg58LVPigTM=jAPrgDLE0m1RqbtbGH=cf27w@mail.gmail.com\0" "From\0Yijing Wang <wangyijing@huawei.com>\0" "Subject\0Re: [PATCH -v5 1/8] PCI/IA64: SN: remove sn_pci_window_fixup()\0" - "Date\0Mon, 17 Jun 2013 03:01:21 +0000\0" + "Date\0Mon, 17 Jun 2013 11:01:21 +0800\0" "To\0Bjorn Helgaas <bhelgaas@google.com>\0" "Cc\0Yinghai Lu <yinghai@kernel.org>" linux-pci@vger.kernel.org <linux-pci@vger.kernel.org> Tony Luck <tony.luck@intel.com> - linux-ia64@vger.kernel.org + <linux-ia64@vger.kernel.org> Fenghua Yu <fenghua.yu@intel.com> Hanjun Guo <guohanjun@huawei.com> Jiang Liu <jiang.liu@huawei.com> @@ -94,12 +94,12 @@ ">>> - unsigned int new_count;\n" ">>> - struct pci_window *new_window;\n" ">>> -\n" - ">>> - if (count = 0)\n" + ">>> - if (count == 0)\n" ">>> - return;\n" ">>> - idx = controller->windows;\n" ">>> - new_count = controller->windows + count;\n" ">>> - new_window = kcalloc(new_count, sizeof(struct pci_window), GFP_KERNEL);\n" - ">>> - BUG_ON(new_window = NULL);\n" + ">>> - BUG_ON(new_window == NULL);\n" ">>> - if (controller->window) {\n" ">>> - memcpy(new_window, controller->window,\n" ">>> - sizeof(struct pci_window) * controller->windows);\n" @@ -108,7 +108,7 @@ ">>> -\n" ">>> - /* Setup a pci_window for each device resource. */\n" ">>> - for (i = 0; i <= PCI_ROM_RESOURCE; i++) {\n" - ">>> - if (pci_addrs[i] = -1)\n" + ">>> - if (pci_addrs[i] == -1)\n" ">>> - continue;\n" ">>> -\n" ">>> - new_window[idx].offset = dev->resource[i].start - pci_addrs[i];\n" @@ -145,7 +145,7 @@ ">>> @@ -237,11 +192,8 @@ sn_io_slot_fixup(struct pci_dev *dev)\n" ">>> end = dev->resource[idx].end;\n" ">>> size = end - start;\n" - ">>> if (size = 0) {\n" + ">>> if (size == 0) {\n" ">>> - pci_addrs[idx] = -1;\n" ">>> continue;\n" ">>> }\n" @@ -182,4 +182,4 @@ "Thanks!\n" Yijing -71c7142e3dae8fa1a0708a11f4692d478156472d6f62ccb20059a6b29a366117 +329662222a197913f32df84c86e5169ea4440543c2180f78b7829b3aad2fc14e
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.