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)