All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <45F7C083.7090504@boichat.ch>

diff --git a/a/1.txt b/N1/1.txt
index 84eaee1..4d79e7f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -50,7 +50,7 @@ Best regards,
 
 Nicolas Boichat
 
-From: Nicolas Boichat <nicolas at boichat.ch>
+From: Nicolas Boichat <nicolas@boichat.ch>
 
 
 ---
@@ -118,14 +118,14 @@ index 0000000..3bdd1a8
 + * sensors, fan control, keyboard backlight control) used in Intel-based Apple
 + * computers.
 + *
-+ * Copyright (C) 2007 Nicolas Boichat <nicolas at boichat.ch>
++ * Copyright (C) 2007 Nicolas Boichat <nicolas@boichat.ch>
 + *
 + * Based on hdaps.c driver:
-+ * Copyright (C) 2005 Robert Love <rml at novell.com>
-+ * Copyright (C) 2005 Jesper Juhl <jesper.juhl at gmail.com>
++ * Copyright (C) 2005 Robert Love <rml@novell.com>
++ * Copyright (C) 2005 Jesper Juhl <jesper.juhl@gmail.com>
 + *
 + * Fan control based on smcFanControl:
-+ * Copyright (C) 2006 Hendrik Holtmann <holtmann at mac.com>
++ * Copyright (C) 2006 Hendrik Holtmann <holtmann@mac.com>
 + *
 + * This program is free software; you can redistribute it and/or modify it
 + * under the terms of the GNU General Public License v2 as published by the
@@ -238,7 +238,7 @@ index 0000000..3bdd1a8
 +	val = val & APPLESMC_STATUS_MASK;
 +
 +	for (i = 0; i < 10000; i++) {
-+		if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val)
++		if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val)
 +			return 0;
 +		udelay(10);
 +	}
@@ -364,7 +364,7 @@ index 0000000..3bdd1a8
 +		if (debug) printk(KERN_DEBUG "applesmc try %d\n", total);
 +		if (!applesmc_read_key(MOTION_SENSOR_KEY, buffer, 2) &&
 +				(buffer[0] != 0x00 || buffer[1] != 0x00)) {
-+			if (total = INIT_TIMEOUT_MSECS) {
++			if (total == INIT_TIMEOUT_MSECS) {
 +				printk(KERN_DEBUG "applesmc: device has" 
 +						" already been initialized"
 +						" (0x%02x, 0x%02x).\n",
@@ -527,7 +527,7 @@ index 0000000..3bdd1a8
 +		return sprintf(buf, "(%d,%d)\n", left, right);
 +}
 +
-+/* Displays ?C * 100 */
++/* Displays °C * 100 */
 +static ssize_t applesmc_show_temperature(struct device *dev, char *buf,
 +								const char *key)
 +{
@@ -836,7 +836,8 @@ index 0000000..3bdd1a8
 +static int applesmc_dmi_match(struct dmi_system_id *id)
 +{
 +	int i = 0;
-+	struct dmi_match_data* dmi_data +					(struct dmi_match_data*)id->driver_data;
++	struct dmi_match_data* dmi_data =
++					(struct dmi_match_data*)id->driver_data;
 +	printk(KERN_INFO "applesmc: %s detected:\n", id->ident);
 +	applesmc_accelerometer = dmi_data->accelerometer;
 +	printk(KERN_INFO "applesmc:  - Model %s accelerometer\n",
diff --git a/a/content_digest b/N1/content_digest
index bf3c9fa..a44a0ea 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
- "From\0nicolas@boichat.ch (Nicolas Boichat)\0"
- "Subject\0[lm-sensors] [RFC][PATCH] Apple SMC driver (hardware monitoring and\0"
- "Date\0Wed, 14 Mar 2007 09:29:39 +0000\0"
+ "From\0Nicolas Boichat <nicolas@boichat.ch>\0"
+ "Subject\0[RFC][PATCH] Apple SMC driver (hardware monitoring and control)\0"
+ "Date\0Wed, 14 Mar 2007 17:29:39 +0800\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0lm-sensors@lm-sensors.org"
   rlove@rlove.org
@@ -59,7 +59,7 @@
  "\n"
  "Nicolas Boichat\n"
  "\n"
- "From: Nicolas Boichat <nicolas at boichat.ch>\n"
+ "From: Nicolas Boichat <nicolas@boichat.ch>\n"
  "\n"
  "\n"
  "---\n"
@@ -127,14 +127,14 @@
  "+ * sensors, fan control, keyboard backlight control) used in Intel-based Apple\n"
  "+ * computers.\n"
  "+ *\n"
- "+ * Copyright (C) 2007 Nicolas Boichat <nicolas at boichat.ch>\n"
+ "+ * Copyright (C) 2007 Nicolas Boichat <nicolas@boichat.ch>\n"
  "+ *\n"
  "+ * Based on hdaps.c driver:\n"
- "+ * Copyright (C) 2005 Robert Love <rml at novell.com>\n"
- "+ * Copyright (C) 2005 Jesper Juhl <jesper.juhl at gmail.com>\n"
+ "+ * Copyright (C) 2005 Robert Love <rml@novell.com>\n"
+ "+ * Copyright (C) 2005 Jesper Juhl <jesper.juhl@gmail.com>\n"
  "+ *\n"
  "+ * Fan control based on smcFanControl:\n"
- "+ * Copyright (C) 2006 Hendrik Holtmann <holtmann at mac.com>\n"
+ "+ * Copyright (C) 2006 Hendrik Holtmann <holtmann@mac.com>\n"
  "+ *\n"
  "+ * This program is free software; you can redistribute it and/or modify it\n"
  "+ * under the terms of the GNU General Public License v2 as published by the\n"
@@ -247,7 +247,7 @@
  "+\tval = val & APPLESMC_STATUS_MASK;\n"
  "+\n"
  "+\tfor (i = 0; i < 10000; i++) {\n"
- "+\t\tif ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val)\n"
+ "+\t\tif ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val)\n"
  "+\t\t\treturn 0;\n"
  "+\t\tudelay(10);\n"
  "+\t}\n"
@@ -373,7 +373,7 @@
  "+\t\tif (debug) printk(KERN_DEBUG \"applesmc try %d\\n\", total);\n"
  "+\t\tif (!applesmc_read_key(MOTION_SENSOR_KEY, buffer, 2) &&\n"
  "+\t\t\t\t(buffer[0] != 0x00 || buffer[1] != 0x00)) {\n"
- "+\t\t\tif (total = INIT_TIMEOUT_MSECS) {\n"
+ "+\t\t\tif (total == INIT_TIMEOUT_MSECS) {\n"
  "+\t\t\t\tprintk(KERN_DEBUG \"applesmc: device has\" \n"
  "+\t\t\t\t\t\t\" already been initialized\"\n"
  "+\t\t\t\t\t\t\" (0x%02x, 0x%02x).\\n\",\n"
@@ -536,7 +536,7 @@
  "+\t\treturn sprintf(buf, \"(%d,%d)\\n\", left, right);\n"
  "+}\n"
  "+\n"
- "+/* Displays ?C * 100 */\n"
+ "+/* Displays \302\260C * 100 */\n"
  "+static ssize_t applesmc_show_temperature(struct device *dev, char *buf,\n"
  "+\t\t\t\t\t\t\t\tconst char *key)\n"
  "+{\n"
@@ -845,7 +845,8 @@
  "+static int applesmc_dmi_match(struct dmi_system_id *id)\n"
  "+{\n"
  "+\tint i = 0;\n"
- "+\tstruct dmi_match_data* dmi_data +\t\t\t\t\t(struct dmi_match_data*)id->driver_data;\n"
+ "+\tstruct dmi_match_data* dmi_data =\n"
+ "+\t\t\t\t\t(struct dmi_match_data*)id->driver_data;\n"
  "+\tprintk(KERN_INFO \"applesmc: %s detected:\\n\", id->ident);\n"
  "+\tapplesmc_accelerometer = dmi_data->accelerometer;\n"
  "+\tprintk(KERN_INFO \"applesmc:  - Model %s accelerometer\\n\",\n"
@@ -1086,4 +1087,4 @@
  "+MODULE_DESCRIPTION(\"Apple SMC\");\n"
  "+MODULE_LICENSE(\"GPL v2\");"
 
-27890a776f90ca64cdab71fa4a7ff6f9091891c48bd25fe0a6e82d13a86f3bd7
+b124791fedbf5123e95d1f4c3c8f0bfd9d983425029bf377132bd89821fef645

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.