All of lore.kernel.org
 help / color / mirror / Atom feed
From: frodol@dds.nl (Frodo Looijaard)
To: lm-sensors@vger.kernel.org
Subject: [ralf.roesch@rw-gmbh.de: Fix in eeprom.c]
Date: Thu, 19 May 2005 06:24:49 +0000	[thread overview]
Message-ID: <20040329160757.GA1802@frodo.local> (raw)

----- Forwarded message from Ralf R?sch <ralf.roesch@rw-gmbh.de> -----

From: Ralf R?sch <ralf.roesch@rw-gmbh.de>
To: frodol@dds.nl
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:ralf.roesch@rw-gmbh.de 
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
diff -u -r1.50 eeprom.c
--- eeprom.c    17 Jan 2004 11:14:00 -0000      1.50
+++ eeprom.c    29 Mar 2004 14:31:06 -0000
@@ -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 -----

-- 
Frodo Looijaard <frodol@dds.nl>  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.

                 reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040329160757.GA1802@frodo.local \
    --to=frodol@dds.nl \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.