From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: Fix in eeprom.c
Date: Thu, 19 May 2005 06:24:50 +0000 [thread overview]
Message-ID: <20040401231636.13b109c5.khali@linux-fr.org> (raw)
In-Reply-To: <20040329193435.7d9a587d.khali@linux-fr.org>
> > 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.
Ralf, can you confirm that the patche solves your memory alignment
problem with the eeprom driver on MIPS?
Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
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 ` Greg KH
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare [this message]
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=20040401231636.13b109c5.khali@linux-fr.org \
--to=khali@linux-fr.org \
--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.