From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [patch 2.6.23-pre] s/SENSORS_/HWMON_/ in Kconfig,
Date: Fri, 15 Jun 2007 18:20:09 +0000 [thread overview]
Message-ID: <20070615202009.0e2847c0@hyperion.delvare> (raw)
In-Reply-To: <466E2E83.4010203@gmail.com>
On Thu, 14 Jun 2007 14:56:56 -0600, Jim Cromie wrote:
> Jean Delvare wrote:
> > Thinking about it some more, I found 2 problems with your patch:
> >
> > * It breaks the ams driver:
> > $ grep -r CONFIG_SENSORS drivers/hwmon/ams
> > drivers/hwmon/ams/ams-core.c:#ifdef CONFIG_SENSORS_AMS_I2C
> > drivers/hwmon/ams/ams-core.c:#ifdef CONFIG_SENSORS_AMS_PMU
> > drivers/hwmon/ams/Makefile:ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
> > drivers/hwmon/ams/Makefile:ams-$(CONFIG_SENSORS_AMS_I2C) += ams-i2c.o
> > drivers/hwmon/ams/Makefile:obj-$(CONFIG_SENSORS_AMS) += ams.o
> > drivers/hwmon/ams/ams.h:#ifdef CONFIG_SENSORS_AMS_I2C
> >
> > You need to update these too.
> >
> > * It breaks a lot of default configurations:
> > $ quilt grep CONFIG_SENSORS arch | wc -l
> > 2729
> > A number of these are for the drivers/i2c/chips part of your patch.
> >
> > So this will be a much bigger patch than you originally posted.
>
> Does the size (and the default config breakage!) change anything from
> your ends ?
> the patch is easy to do ( perl -pi.bak -e 's/SENSORS_/HWMON_/'),
> and easy to test (make allmodconfig - I didnt do this before, sorry)
> but its not clear that its value-in-clarity is worth the churn (seen by
> everyone who builds)
Admittedly, this becomes much bigger than I initially thought, so I'm a
bit hesitant now. I think it's still worth it for the i2c/chips part,
because there, we're calling SENSORS devices which aren't and this is
confusing; and the count is lower. For HWMON vs. SENSORS, it can be
confusing but at least it's not plain wrong - so I'd say leave it alone.
But this is just my feeling of the moment. If others feel more strongly
one direction or the other, I won't insist either way.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-06-15 18:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 5:26 [lm-sensors] [patch 2.6.23-pre] s/SENSORS_/HWMON_/ in Kconfig, Jim Cromie
2007-06-12 11:23 ` Mark M. Hoffman
2007-06-12 20:44 ` Jean Delvare
2007-06-13 17:52 ` Jim Cromie
2007-06-14 18:26 ` Jean Delvare
2007-06-14 20:56 ` Jim Cromie
2007-06-15 18:20 ` Jean Delvare [this message]
2007-06-16 3:14 ` Mark M. Hoffman
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=20070615202009.0e2847c0@hyperion.delvare \
--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.