All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20081007223623.684281f2@hyperion.delvare>

diff --git a/a/1.txt b/N1/1.txt
index 4a6101e..ce60d61 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -42,12 +42,12 @@ You have an interesting notion of numeric sorting ;)
 >  #define IT87_BASE_REG 0x60
 > 
 > @@ -278,7 +280,8 @@ static inline int has_16bit_fans(const s
->        return (data->type = it87 && data->revision >= 0x03)
->            || (data->type = it8712 && data->revision >= 0x08)
->            || data->type = it8716
-> -           || data->type = it8718;
-> +           || data->type = it8718
-> +           || data->type = it8720;
+>        return (data->type == it87 && data->revision >= 0x03)
+>            || (data->type == it8712 && data->revision >= 0x08)
+>            || data->type == it8716
+> -           || data->type == it8718;
+> +           || data->type == it8718
+> +           || data->type == it8720;
 >  }
 > 
 >  static int it87_probe(struct platform_device *pdev);
@@ -72,9 +72,9 @@ You have an interesting notion of numeric sorting ;)
 > @@ -1190,7 +1197,7 @@ static int __devinit it87_probe(struct p
 >        }
 > 
->        if (data->type = it8712 || data->type = it8716
-> -        || data->type = it8718) {
-> +        || data->type = it8718 || data->type = it8720) {
+>        if (data->type == it8712 || data->type == it8716
+> -        || data->type == it8718) {
+> +        || data->type == it8718 || data->type == it8720) {
 >                data->vrm = vid_which_vrm();
 >                /* VID reading from Super-I/O config space if available */
 >                data->vid = sio_data->vid_value;
@@ -96,7 +96,7 @@ function it87_find).
 		int reg;
 
 		superio_select(GPIO);
-		if (chip_type = it8718)
+		if (chip_type == it8718)
 			sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);
 
 		reg = superio_inb(IT87_SIO_PINX2_REG);
@@ -114,8 +114,3 @@ OK to me.
 
 -- 
 Jean Delvare
-
-_______________________________________________
-lm-sensors mailing list
-lm-sensors@lm-sensors.org
-http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
diff --git a/a/content_digest b/N1/content_digest
index ed15af8..4a40113 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\079c9d4530810061033g3630dc2dwabb4d3c2a3f17337@mail.gmail.com\0"
  "From\0Jean Delvare <khali@linux-fr.org>\0"
  "Subject\0Re: [lm-sensors] [PATCH] Allow it87.c to handle IT8720\0"
- "Date\0Tue, 07 Oct 2008 20:36:23 +0000\0"
+ "Date\0Tue, 7 Oct 2008 22:36:23 +0200\0"
  "To\0Jean-Marc Spaggiari <jean-marc@spaggiari.org>\0"
  "Cc\0LKML <linux-kernel@vger.kernel.org>"
  " LM Sensors <lm-sensors@lm-sensors.org>\0"
@@ -51,12 +51,12 @@
  ">  #define IT87_BASE_REG 0x60\n"
  "> \n"
  "> @@ -278,7 +280,8 @@ static inline int has_16bit_fans(const s\n"
- ">        return (data->type = it87 && data->revision >= 0x03)\n"
- ">            || (data->type = it8712 && data->revision >= 0x08)\n"
- ">            || data->type = it8716\n"
- "> -           || data->type = it8718;\n"
- "> +           || data->type = it8718\n"
- "> +           || data->type = it8720;\n"
+ ">        return (data->type == it87 && data->revision >= 0x03)\n"
+ ">            || (data->type == it8712 && data->revision >= 0x08)\n"
+ ">            || data->type == it8716\n"
+ "> -           || data->type == it8718;\n"
+ "> +           || data->type == it8718\n"
+ "> +           || data->type == it8720;\n"
  ">  }\n"
  "> \n"
  ">  static int it87_probe(struct platform_device *pdev);\n"
@@ -81,9 +81,9 @@
  "> @@ -1190,7 +1197,7 @@ static int __devinit it87_probe(struct p\n"
  ">        }\n"
  "> \n"
- ">        if (data->type = it8712 || data->type = it8716\n"
- "> -        || data->type = it8718) {\n"
- "> +        || data->type = it8718 || data->type = it8720) {\n"
+ ">        if (data->type == it8712 || data->type == it8716\n"
+ "> -        || data->type == it8718) {\n"
+ "> +        || data->type == it8718 || data->type == it8720) {\n"
  ">                data->vrm = vid_which_vrm();\n"
  ">                /* VID reading from Super-I/O config space if available */\n"
  ">                data->vid = sio_data->vid_value;\n"
@@ -105,7 +105,7 @@
  "\t\tint reg;\n"
  "\n"
  "\t\tsuperio_select(GPIO);\n"
- "\t\tif (chip_type = it8718)\n"
+ "\t\tif (chip_type == it8718)\n"
  "\t\t\tsio_data->vid_value = superio_inb(IT87_SIO_VID_REG);\n"
  "\n"
  "\t\treg = superio_inb(IT87_SIO_PINX2_REG);\n"
@@ -122,11 +122,6 @@
  "OK to me.\n"
  "\n"
  "-- \n"
- "Jean Delvare\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ Jean Delvare
 
-0e08ee8f31d4c04f529846472a91001b4e0fb564b3924c50269f2c057502f47c
+858b94ed4acec8a2aae3dffc45769aac60d4801951d7c630ce8870569d403713

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.