lkml.org 
[lkml]   [2003]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] i2c driver changes for 2.5.69
From
Date
ChangeSet 1.1042.48.2, 2003/04/25 16:11:23-07:00, greg@kroah.com

[PATCH] i2c: fix oops on startup of it87 driver.


drivers/i2c/chips/it87.c | 2 ++
1 files changed, 2 insertions(+)


diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c
--- a/drivers/i2c/chips/it87.c Tue May 6 17:25:00 2003
+++ b/drivers/i2c/chips/it87.c Tue May 6 17:25:00 2003
@@ -585,6 +585,8 @@
err = -ENOMEM;
goto ERROR1;
}
+ memset(new_client, 0x00, sizeof(struct i2c_client) +
+ sizeof(struct it87_data));

data = (struct it87_data *) (new_client + 1);
if (is_isa)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.052 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site