diff for duplicates of <1047603318248@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 42a0a7f..81f0393 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,7 +27,7 @@ diff -Nru a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c - struct pci_dev *ALI15X3_dev; - - /* First check whether we can access PCI at all */ -- if (pci_present() = 0) { +- if (pci_present() == 0) { - printk("i2c-ali15x3.o: Error: No PCI-bus found!\n"); - return -ENODEV; - } @@ -36,7 +36,7 @@ diff -Nru a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c - ALI15X3_dev = NULL; - ALI15X3_dev = pci_find_device(PCI_VENDOR_ID_AL, - PCI_DEVICE_ID_AL_M7101, ALI15X3_dev); -- if (ALI15X3_dev = NULL) { +- if (ALI15X3_dev == NULL) { - printk("i2c-ali15x3.o: Error: Can't detect ali15x3!\n"); - return -ENODEV; - } diff --git a/a/content_digest b/N1/content_digest index e13d3c1..069689e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010476033153504@kroah.com\0" - "ref\010476033213315@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] i2c driver changes for 2.5.64\0" - "Date\0Thu, 19 May 2005 06:23:49 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] i2c driver changes for 2.5.64\0" + "Date\0Thu, 13 Mar 2003 16:55 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -36,7 +35,7 @@ "-\tstruct pci_dev *ALI15X3_dev;\n" "-\n" "-\t/* First check whether we can access PCI at all */\n" - "-\tif (pci_present() = 0) {\n" + "-\tif (pci_present() == 0) {\n" "-\t\tprintk(\"i2c-ali15x3.o: Error: No PCI-bus found!\\n\");\n" "-\t\treturn -ENODEV;\n" "-\t}\n" @@ -45,7 +44,7 @@ "-\tALI15X3_dev = NULL;\n" "-\tALI15X3_dev = pci_find_device(PCI_VENDOR_ID_AL,\n" "-\t\t\t\t PCI_DEVICE_ID_AL_M7101, ALI15X3_dev);\n" - "-\tif (ALI15X3_dev = NULL) {\n" + "-\tif (ALI15X3_dev == NULL) {\n" "-\t\tprintk(\"i2c-ali15x3.o: Error: Can't detect ali15x3!\\n\");\n" "-\t\treturn -ENODEV;\n" "-\t}\n" @@ -82,4 +81,4 @@ " \n" static void __devexit ali15x3_remove(struct pci_dev *dev) -fb34a2ea42723a23ab3b6fb3c3b6dc2d141c60350431c2eebf4f65610371653b +369724eb4160f3dcb73411db965adb5b14930cdcff289064aeb2a64af4256cdc
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.