From: greg@kroah.com (Greg KH)
To: lm-sensors@vger.kernel.org
Subject: Fix in eeprom.c
Date: Thu, 19 May 2005 06:24:50 +0000 [thread overview]
Message-ID: <20040403001836.GC8710@kroah.com> (raw)
In-Reply-To: <20040329193435.7d9a587d.khali@linux-fr.org>
On Thu, Apr 01, 2004 at 11:16:36PM +0200, Jean Delvare wrote:
> > > Greg, I would be interested in your opinion. Should we update all
> > > our chip drivers to have two memory allocations instead of a single
> > > one for this?
> >
> > Yeah, we probably should :(
>
> OK... Here we go. I've converted all drivers in our CVS repository to a
> new model where we do the two kmallocs separately. I didn't commit it
> yet because it's a very important change (47 chip drivers affected). So
> I'd appreciate code reviews and tests before I apply it.
>
> The patch is here:
> http://jdelvare.net1.nerim.net/sensors/lm_sensors-CVS-separate-mallocs.diff
> It applies on latest CVS.
>
> I tested only the eeprom and lm90 drivers so far. Seems to work, but the
> changes are error-prone so what it "seems" is hardly enough to be sure
> it's correct.
At a quick glance it looks sane.
thanks,
greg k-h
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 Fix in eeprom.c Jean Delvare
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Greg KH
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` AW: " Ralf Rosch
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Greg KH [this message]
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` AW: " Ralf Rosch
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` AW: " Ralf Rosch
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=20040403001836.GC8710@kroah.com \
--to=greg@kroah.com \
--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.