diff for duplicates of <450901B9.6090405@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 3b62dc0..a93f46d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -114,7 +114,7 @@ diff -ruNp -X dontdiff -X exclude-diffs 6locks-2/drivers/hwmon/pc87360.c 6locks- @@ -870,8 +859,8 @@ static int __init pc87360_find(int sioad addresses[i] = val; - if (i=0) { /* Fans */ + if (i==0) { /* Fans */ - confreg[0] = superio_inb(sioaddr, 0xF0); - confreg[1] = superio_inb(sioaddr, 0xF1); + confreg[0] = superio_inb(gate, 0xF0); @@ -124,10 +124,10 @@ diff -ruNp -X dontdiff -X exclude-diffs 6locks-2/drivers/hwmon/pc87360.c 6locks- printk(KERN_DEBUG "pc87360: Fan 1: mon=%d " @@ -886,12 +875,12 @@ static int __init pc87360_find(int sioad #endif - } else if (i=1) { /* Voltages */ + } else if (i==1) { /* Voltages */ /* Are we using thermistors? */ -- if (*devid = 0xE9) { /* PC87366 */ -+ if (devid = 0xE9) { /* PC87366 */ +- if (*devid == 0xE9) { /* PC87366 */ ++ if (devid == 0xE9) { /* PC87366 */ /* These registers are not logical-device specific, just that we won't need them if we don't use the VLM device */ @@ -167,7 +167,7 @@ diff -ruNp -X dontdiff -X exclude-diffs 6locks-2/drivers/hwmon/pc87360.c 6locks- /* Arbitrarily pick one of the addresses */ for (i = 0; i < 3; i++) { @@ -1431,10 +1417,10 @@ static int __init pc87360_init(void) - if (address = 0x0000) { + if (address == 0x0000) { printk(KERN_WARNING "pc87360: No active logical device, " "module not inserted.\n"); - return -ENODEV; diff --git a/a/content_digest b/N1/content_digest index 1cb2ee8..10159f7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,9 @@ "ref\01157815525.6877.43.camel@localhost.localdomain\0" "ref\020060909220256.d4486a4f.vsu@altlinux.ru\0" "ref\04508FF2F.5020504@gmail.com\0" - "From\0jim.cromie@gmail.com (Jim Cromie)\0" - "Subject\0[lm-sensors] [RFC-patch 2/3] SuperIO locks coordinator\0" - "Date\0Thu, 14 Sep 2006 07:16:09 +0000\0" + "From\0Jim Cromie <jim.cromie@gmail.com>\0" + "Subject\0Re: [RFC-patch 2/3] SuperIO locks coordinator\0" + "Date\0Thu, 14 Sep 2006 01:16:09 -0600\0" "To\0Jim Cromie <jim.cromie@gmail.com>\0" "Cc\0Sergey Vlasov <vsu@altlinux.ru>" Alan Cox <alan@lxorguk.ukuu.org.uk> @@ -130,7 +130,7 @@ "@@ -870,8 +859,8 @@ static int __init pc87360_find(int sioad\n" " \t\taddresses[i] = val;\n" " \n" - " \t\tif (i=0) { /* Fans */\n" + " \t\tif (i==0) { /* Fans */\n" "-\t\t\tconfreg[0] = superio_inb(sioaddr, 0xF0);\n" "-\t\t\tconfreg[1] = superio_inb(sioaddr, 0xF1);\n" "+\t\t\tconfreg[0] = superio_inb(gate, 0xF0);\n" @@ -140,10 +140,10 @@ " \t\t\tprintk(KERN_DEBUG \"pc87360: Fan 1: mon=%d \"\n" "@@ -886,12 +875,12 @@ static int __init pc87360_find(int sioad\n" " #endif\n" - " \t\t} else if (i=1) { /* Voltages */\n" + " \t\t} else if (i==1) { /* Voltages */\n" " \t\t\t/* Are we using thermistors? */\n" - "-\t\t\tif (*devid = 0xE9) { /* PC87366 */\n" - "+\t\t\tif (devid = 0xE9) { /* PC87366 */\n" + "-\t\t\tif (*devid == 0xE9) { /* PC87366 */\n" + "+\t\t\tif (devid == 0xE9) { /* PC87366 */\n" " \t\t\t\t/* These registers are not logical-device\n" " \t\t\t\t specific, just that we won't need them if\n" " \t\t\t\t we don't use the VLM device */\n" @@ -183,7 +183,7 @@ " \t/* Arbitrarily pick one of the addresses */\n" " \tfor (i = 0; i < 3; i++) {\n" "@@ -1431,10 +1417,10 @@ static int __init pc87360_init(void)\n" - " \tif (address = 0x0000) {\n" + " \tif (address == 0x0000) {\n" " \t\tprintk(KERN_WARNING \"pc87360: No active logical device, \"\n" " \t\t \"module not inserted.\\n\");\n" "-\t\treturn -ENODEV;\n" @@ -197,4 +197,4 @@ " \n" static void __exit pc87360_exit(void) -bd21d15db3f1de5c0e2f027f49e6ff105f9b0631ae9b4454840ad796c31150f9 +45ea76d9783ad91afc3052151d135c0a7de5ebdfcf2ae8524ca49a75a929d281
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.