diff for duplicates of <20081022114832.GD26094@parisc-linux.org> diff --git a/a/1.txt b/N1/1.txt index 85608a3..f57d931 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,11 +9,13 @@ has tabs. You seem to have converted this to 4-space indents somehow. > values = A_SIZE_8(agp_bridge->driver->aperture_sizes); > pci_read_config_byte(agp_bridge->dev, VIA_APSIZE, &temp); > for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { -> - if (temp = values[i].size_value) { -> - agp_bridge->previous_size > - agp_bridge->current_size = (void *) (values + i); -> + if (temp = values[i].size_value) +> - if (temp == values[i].size_value) { +> - agp_bridge->previous_size = +> - agp_bridge->current_size = (void *) (values + i); +> + if (temp == values[i].size_value) > + continue; -> + agp_bridge->previous_size = agp_bridge->current_size > + values + i; +> + agp_bridge->previous_size = agp_bridge->current_size = +> + values + i; > agp_bridge->aperture_size_idx = i; > return values[i].size; > } @@ -41,11 +43,13 @@ has tabs. You seem to have converted this to 4-space indents somehow. > temp &= 0xfff; > > for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { -> - if (temp = values[i].size_value) { -> - agp_bridge->previous_size > - agp_bridge->current_size = (void *) (values + i); -> + if (temp = values[i].size_value) +> - if (temp == values[i].size_value) { +> - agp_bridge->previous_size = +> - agp_bridge->current_size = (void *) (values + i); +> + if (temp == values[i].size_value) > + continue; -> + agp_bridge->previous_size = agp_bridge->current_size > + values + i; +> + agp_bridge->previous_size = agp_bridge->current_size = +> + values + i; > agp_bridge->aperture_size_idx = i; > return values[i].size; > } @@ -112,8 +116,8 @@ that. > > pci_read_config_byte(bridge->dev, VIA_AGPSEL, ®); > /* Check AGP 2.0 compatibility mode. */ -> - if ((reg & (1<<1))=0) -> + if ((reg & (1 << 1)) = 0) +> - if ((reg & (1<<1))==0) +> + if ((reg & (1 << 1)) == 0) > bridge->driver = &via_agp3_driver; > } > @@ -129,9 +133,9 @@ that. > bridge = agp_alloc_bridge(); > if (!bridge) > @@ -461,7 +468,8 @@ static int __devinit agp_via_probe(struc -> if (pdev->device = PCI_DEVICE_ID_VIA_8367_0) { +> if (pdev->device == PCI_DEVICE_ID_VIA_8367_0) { > /* Is there a KT400 subsystem ? */ -> if (pdev->subsystem_device = PCI_DEVICE_ID_VIA_8377_0) { +> if (pdev->subsystem_device == PCI_DEVICE_ID_VIA_8377_0) { > - printk(KERN_INFO PFX "Found KT400 in disguise as a KT266.\n"); > + printk(KERN_INFO PFX "Found KT400 in disguise > + as a KT266.\n"); diff --git a/a/content_digest b/N1/content_digest index 0236eff..5037e09 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\0663ba5090810220353g7da53f0mb57fe2129da5a8b2@mail.gmail.com\0" "From\0Matthew Wilcox <matthew@wil.cx>\0" "Subject\0Re: [PATCH] via-agp.c fixed compilation error and warnings for 2.6.26\0" - "Date\0Wed, 22 Oct 2008 11:48:32 +0000\0" + "Date\0Wed, 22 Oct 2008 05:48:32 -0600\0" "To\0nagaraj s k <nagaraj.sk@gmail.com>\0" "Cc\0Dave Airlie <airlied@linux.ie>" trivial@kernel.org @@ -27,11 +27,13 @@ "> values = A_SIZE_8(agp_bridge->driver->aperture_sizes);\n" "> pci_read_config_byte(agp_bridge->dev, VIA_APSIZE, &temp);\n" "> for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) {\n" - "> - if (temp = values[i].size_value) {\n" - "> - agp_bridge->previous_size > - agp_bridge->current_size = (void *) (values + i);\n" - "> + if (temp = values[i].size_value)\n" + "> - if (temp == values[i].size_value) {\n" + "> - agp_bridge->previous_size =\n" + "> - agp_bridge->current_size = (void *) (values + i);\n" + "> + if (temp == values[i].size_value)\n" "> + continue;\n" - "> + agp_bridge->previous_size = agp_bridge->current_size > + values + i;\n" + "> + agp_bridge->previous_size = agp_bridge->current_size =\n" + "> + values + i;\n" "> agp_bridge->aperture_size_idx = i;\n" "> return values[i].size;\n" "> }\n" @@ -59,11 +61,13 @@ "> temp &= 0xfff;\n" "> \n" "> for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) {\n" - "> - if (temp = values[i].size_value) {\n" - "> - agp_bridge->previous_size > - agp_bridge->current_size = (void *) (values + i);\n" - "> + if (temp = values[i].size_value)\n" + "> - if (temp == values[i].size_value) {\n" + "> - agp_bridge->previous_size =\n" + "> - agp_bridge->current_size = (void *) (values + i);\n" + "> + if (temp == values[i].size_value)\n" "> + continue;\n" - "> + agp_bridge->previous_size = agp_bridge->current_size > + values + i;\n" + "> + agp_bridge->previous_size = agp_bridge->current_size =\n" + "> + values + i;\n" "> agp_bridge->aperture_size_idx = i;\n" "> return values[i].size;\n" "> }\n" @@ -130,8 +134,8 @@ "> \n" "> pci_read_config_byte(bridge->dev, VIA_AGPSEL, ®);\n" "> /* Check AGP 2.0 compatibility mode. */\n" - "> - if ((reg & (1<<1))=0)\n" - "> + if ((reg & (1 << 1)) = 0)\n" + "> - if ((reg & (1<<1))==0)\n" + "> + if ((reg & (1 << 1)) == 0)\n" "> bridge->driver = &via_agp3_driver;\n" "> }\n" "> \n" @@ -147,9 +151,9 @@ "> bridge = agp_alloc_bridge();\n" "> if (!bridge)\n" "> @@ -461,7 +468,8 @@ static int __devinit agp_via_probe(struc\n" - "> if (pdev->device = PCI_DEVICE_ID_VIA_8367_0) {\n" + "> if (pdev->device == PCI_DEVICE_ID_VIA_8367_0) {\n" "> /* Is there a KT400 subsystem ? */\n" - "> if (pdev->subsystem_device = PCI_DEVICE_ID_VIA_8377_0) {\n" + "> if (pdev->subsystem_device == PCI_DEVICE_ID_VIA_8377_0) {\n" "> - printk(KERN_INFO PFX \"Found KT400 in disguise as a KT266.\\n\");\n" "> + printk(KERN_INFO PFX \"Found KT400 in disguise\n" "> + as a KT266.\\n\");\n" @@ -162,4 +166,4 @@ "operating system, but compare it to ours. We can't possibly take such\n" "a retrograde step.\"" -2d0e495556bd3a79cef7b1b3e7c7b9c919b900409b03187c9ee3766df1b49507 +7ad3b7745556d169063bfd7af08175a8b4a109da62f73e87a489c46941e371c4
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.