Revision: 104
http://svn.sourceforge.net/mactel-linux/?rev=104&view=rev
Author: nboichat
Date: 2007-04-09 10:04:20 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Fix param_1 write in applesmc.
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.21/0011-applesmc2.patch
Modified: trunk/kernel/mactel-patches-2.6.21/0011-applesmc2.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.21/0011-applesmc2.patch 2007-04-09
16:57:54 UTC (rev 103)
+++ trunk/kernel/mactel-patches-2.6.21/0011-applesmc2.patch 2007-04-09
17:04:20 UTC (rev 104)
@@ -9,7 +9,7 @@
1 files changed, 540 insertions(+), 66 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
-index f7b59fc..7c368a3 100644
+index f7b59fc..e86d858 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -37,40 +37,71 @@
@@ -639,7 +639,7 @@
+
+ mutex_lock(&applesmc_lock);
+
-+ ret = applesmc_write_key(key, buffer, 2);
++ ret = applesmc_write_key(key, buffer, length);
+
+ mutex_unlock(&applesmc_lock);
+ if (ret)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel