[[email protected]: Fix in eeprom.c]
----- Forwarded message from Ralf R?sch <[email protected]> -----
From: Ralf R?sch <[email protected]>
To: [email protected]
Subject: Fix in eeprom.c
Importance: Normal
X-Spam-Status: No, hits=-5.0 required=5.0 tests=ASCII_FORM_ENTRY,UNIFIED_PATCH version=2.20 X-Spam-Level:
Hi Frodo,
what do you think about this fix?
regards
Ralf
Roesch & Walter___________________________________________ Industrie-Elektronik GmbH * Tel.: +49-7824 / 6628-0
Im Heidenwinkel 5 * Fax: +49-7824 / 6628-29 D-77963 Schwanau * mailto:[email protected] Germany * WWW: http://www.rw-gmbh.de
Index: eeprom.c
=================================RCS file: /home/cvs/lm_sensors2/kernel/chips/eeprom.c,v retrieving revision 1.50
eeprom.c 29 Mar 2004 14:31:06 -0000 renamed from eeprom.c 17 Jan 2004 11:14:00 -0000 1.50 +1 -1
@@ -202,7 +202,7 @@ } data = (struct eeprom_data *) (new_client + 1); - memset(data, 0xff, EEPROM_SIZE); + memset(data->data, 0xff, EEPROM_SIZE); new_client->addr = address; new_client->data = data; new_client->adapter = adapter;
----- End forwarded message -----
Signature · 4 lines
Frodo Looijaard <[email protected]> PGP key and more: http://huizen.dds.nl/~frodol Defenestration n. (formal or joc.): The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.