From: khali@linux-fr.org (Jean Delvare)
To: Jonathan Corbet <corbet@lwn.net>
Cc: Greg Kroah-Hartman <greg@kroah.com>,
torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Alexey Dobriyan <adobriyan@gmail.com>
Subject: [lm-sensors] Re: [PATCH] drivers/hwmon/*: kfree() correct pointers
Date: Fri, 26 Aug 2005 09:32:49 +0000 [thread overview]
Message-ID: <20050826093214.415f1987.khali@linux-fr.org> (raw)
In-Reply-To: <20050825235354.10376.qmail@lwn.net>
Hi Jonathan,
> > Already fixed in Greg's i2c tree and -mm for quite some time now...
>
> So it is. The comment says, however, that "the existing code works
> somewhat by accident." In the case of the 9240 driver, however, the
> existing code demonstrably does not work - it oopsed on me.
I too did notice that the adm9240 case was worse than the four other
ones back then, but when I tried to get it to crash, it never did. This
is the reason why I did not push this patch upstream faster. I wonder
why it now does oops on you.
I also believe that this patch was somewhat misnamed. It is not related
to the new hwmon class, but jut happened to change the same part of
these five drivers. With a better name, the patch would most probably
have been selected by Greg in the last batch of i2c patches to Linus.
> The patch in Greg's tree looks fine (it's a straightforward fix, after
> all);
I wouldn't call it straightforward, but it certainly has been reviewed
and tested well enough by now to be considered safe.
> I'd recommend that it be merged before 2.6.13.
Fine with me.
Thanks,
--
Jean Delvare
WARNING: multiple messages have this Message-ID (diff)
From: Jean Delvare <khali@linux-fr.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: Greg Kroah-Hartman <greg@kroah.com>,
torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Alexey Dobriyan <adobriyan@gmail.com>
Subject: Re: [PATCH] drivers/hwmon/*: kfree() correct pointers
Date: Fri, 26 Aug 2005 09:32:14 +0200 [thread overview]
Message-ID: <20050826093214.415f1987.khali@linux-fr.org> (raw)
In-Reply-To: <20050825235354.10376.qmail@lwn.net>
Hi Jonathan,
> > Already fixed in Greg's i2c tree and -mm for quite some time now...
>
> So it is. The comment says, however, that "the existing code works
> somewhat by accident." In the case of the 9240 driver, however, the
> existing code demonstrably does not work - it oopsed on me.
I too did notice that the adm9240 case was worse than the four other
ones back then, but when I tried to get it to crash, it never did. This
is the reason why I did not push this patch upstream faster. I wonder
why it now does oops on you.
I also believe that this patch was somewhat misnamed. It is not related
to the new hwmon class, but jut happened to change the same part of
these five drivers. With a better name, the patch would most probably
have been selected by Greg in the last batch of i2c patches to Linus.
> The patch in Greg's tree looks fine (it's a straightforward fix, after
> all);
I wouldn't call it straightforward, but it certainly has been reviewed
and tested well enough by now to be considered safe.
> I'd recommend that it be merged before 2.6.13.
Fine with me.
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2005-08-26 9:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-25 20:56 [PATCH] fix adm9240 oops Jonathan Corbet
2005-08-25 21:49 ` [PATCH] drivers/hwmon/*: kfree() correct pointers Alexey Dobriyan
2005-08-25 23:41 ` [lm-sensors] " Alexey Dobriyan
2005-08-25 22:02 ` Jean Delvare
2005-08-26 0:03 ` [lm-sensors] " Jean Delvare
2005-08-25 23:53 ` Jonathan Corbet
2005-08-26 1:54 ` [lm-sensors] " Jonathan Corbet
2005-08-26 7:32 ` Jean Delvare [this message]
2005-08-26 9:32 ` Jean Delvare
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=20050826093214.415f1987.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=corbet@lwn.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=torvalds@osdl.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.