All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20101104042121.GA19231@ericsson.com>

diff --git a/a/1.txt b/N1/1.txt
index 79cdad4..a5a5280 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -79,7 +79,7 @@ unnecessary blank line
 > @@ -241,16 +258,10 @@ static int __wait_status(u8 val)
 >         for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) {
 >                 udelay(us);
->                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val) {
+>                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) {
 > -                       if (debug)
 > -                               printk(KERN_DEBUG
 > -                                       "Waited %d us for status %x\n",
@@ -94,7 +94,7 @@ unnecessary blank line
 >  }
 > 
 > @@ -268,156 +279,228 @@ static int send_command(u8 cmd)
->                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = 0x0c)
+>                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == 0x0c)
 >                         return 0;
 >         }
 > -       pr_warn("command failed: %x -> %x\n", cmd, inb(APPLESMC_CMD_PORT));
@@ -623,7 +623,8 @@ Do you also have to reset init_complete ?
 >                 return ret;
 >         else
 > @@ -661,14 +787,10 @@ static ssize_t applesmc_show_temperature(struct device *dev,
->         const char* key >                 temperature_sensors_sets[applesmc_temperature_set][attr->index];
+>         const char* key =
+>                 temperature_sensors_sets[applesmc_temperature_set][attr->index];
 > 
 > -       mutex_lock(&applesmc_lock);
 > -
@@ -930,8 +931,3 @@ Do you also have to reset init_complete ?
 > lm-sensors mailing list
 > lm-sensors@lm-sensors.org
 > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
-
-_______________________________________________
-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 11cc6c6..58f1746 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,8 @@
  "ref\01288511434-5662-1-git-send-email-rydberg@euromail.se\0"
  "ref\01288511434-5662-3-git-send-email-rydberg@euromail.se\0"
  "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0"
- "Subject\0Re: [lm-sensors] [PATCH 2/8] hwmon: applesmc: Introduce a register\0"
- "Date\0Thu, 04 Nov 2010 04:21:21 +0000\0"
+ "Subject\0Re: [lm-sensors] [PATCH 2/8] hwmon: applesmc: Introduce a register lookup table\0"
+ "Date\0Wed, 3 Nov 2010 21:21:21 -0700\0"
  "To\0Henrik Rydberg <rydberg@euromail.se>\0"
  "Cc\0Jean Delvare <khali@linux-fr.org>"
   linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>
@@ -90,7 +90,7 @@
  "> @@ -241,16 +258,10 @@ static int __wait_status(u8 val)\n"
  ">         for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) {\n"
  ">                 udelay(us);\n"
- ">                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val) {\n"
+ ">                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) {\n"
  "> -                       if (debug)\n"
  "> -                               printk(KERN_DEBUG\n"
  "> -                                       \"Waited %d us for status %x\\n\",\n"
@@ -105,7 +105,7 @@
  ">  }\n"
  "> \n"
  "> @@ -268,156 +279,228 @@ static int send_command(u8 cmd)\n"
- ">                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = 0x0c)\n"
+ ">                 if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == 0x0c)\n"
  ">                         return 0;\n"
  ">         }\n"
  "> -       pr_warn(\"command failed: %x -> %x\\n\", cmd, inb(APPLESMC_CMD_PORT));\n"
@@ -634,7 +634,8 @@
  ">                 return ret;\n"
  ">         else\n"
  "> @@ -661,14 +787,10 @@ static ssize_t applesmc_show_temperature(struct device *dev,\n"
- ">         const char* key >                 temperature_sensors_sets[applesmc_temperature_set][attr->index];\n"
+ ">         const char* key =\n"
+ ">                 temperature_sensors_sets[applesmc_temperature_set][attr->index];\n"
  "> \n"
  "> -       mutex_lock(&applesmc_lock);\n"
  "> -\n"
@@ -940,11 +941,6 @@
  "> _______________________________________________\n"
  "> lm-sensors mailing list\n"
  "> lm-sensors@lm-sensors.org\n"
- "> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors\n"
- "\n"
- "_______________________________________________\n"
- "lm-sensors mailing list\n"
- "lm-sensors@lm-sensors.org\n"
- http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
+ > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
 
-9d54b33ff797e31713adb3c1c52f53fa34f672af808b6d4d0ad476f8be851e4a
+f5ee396b63a390386a18216fa85f2dd4654ba976f0565ec439e4f2515bb73eb8

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.