* [lm-sensors] hwmon-pc87360-use-sensor-attr-arrays.patch
@ 2005-12-28 18:51 Jim Cromie
0 siblings, 0 replies; 2+ messages in thread
From: Jim Cromie @ 2005-12-28 18:51 UTC (permalink / raw)
To: lm-sensors
hi Jean,
I couldnt get rc5-mm3 to boot properly (some switchroot prob)
so I baselined this patch against rc7 + all accepted patches named in
http://khali.linux-fr.org/devel/i2c/linux-2.6/series
(diffstat is uninteresting, but hey ..)
jimc at harpo i2c-stuff]$ diffstat hwmon-pc87360-use-sensor-attr-arrays.patch
pc87360.c | 410
++++++++++++++++++++++++++++++--------------------------------
1 files changed, 202 insertions(+), 208 deletions(-)
Convert individual sensors to sensor-attr arrays by each sensor type,
and initialize them in loops instead of long blocks of individual calls.
Signed-off-by: Jim Cromie <jim.cromie at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-pc87360-use-sensor-attr-arrays.patch
Type: text/x-patch
Size: 24375 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20051228/29665e8f/hwmon-pc87360-use-sensor-attr-arrays.bin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lm-sensors] hwmon-pc87360-use-sensor-attr-arrays.patch
@ 2006-01-04 21:12 Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2006-01-04 21:12 UTC (permalink / raw)
To: lm-sensors
Hi Jim,
> I couldnt get rc5-mm3 to boot properly (some switchroot prob)
> so I baselined this patch against rc7 + all accepted patches named in
> http://khali.linux-fr.org/devel/i2c/linux-2.6/series
>
> (diffstat is uninteresting, but hey ..)
> jimc at harpo i2c-stuff]$ diffstat hwmon-pc87360-use-sensor-attr-arrays.patch
> pc87360.c | 410
> ++++++++++++++++++++++++++++++--------------------------------
> 1 files changed, 202 insertions(+), 208 deletions(-)
It's not that uninteresting. It shows that the patch doesn't only
shrink the binary size, it also kills a few lines of source code. Not
much, but at least it doesn't *add* lines of code, which is a good
thing.
> Convert individual sensors to sensor-attr arrays by each sensor type,
> and initialize them in loops instead of long blocks of individual calls.
Looks good (except for some trailing whitespace which I had to remove,
grmbl), applied, thanks.
It's probably one of the last large non-bug-fixing patches I accept for
Linux 2.6.16.
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-04 21:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-28 18:51 [lm-sensors] hwmon-pc87360-use-sensor-attr-arrays.patch Jim Cromie
-- strict thread matches above, loose matches on Subject: below --
2006-01-04 21:12 Jean Delvare
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.