Messages in this thread Patch in this message | | | Subject | Re: [PATCH] i2c driver changes for 2.5.69 | From | Greg KH <> | Date | Tue, 6 May 2003 17:33:35 -0700 |
| |
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/
| |