From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/3] libsensors4: New prototype for
Date: Sat, 25 Aug 2007 17:18:19 +0000 [thread overview]
Message-ID: <46D0645B.5060406@hhs.nl> (raw)
In-Reply-To: <20070825150259.0a936215@hyperion.delvare>
Jean Delvare wrote:
> Add a parameter to sensors_get_detected_chips(), to optionally let the
> caller select which subset of chips it wants. This is slightly better
> size-wise than letting all applications do the filtering by themselves.
>
> This will change the way the command line parameters of "sensors" are
> interpreted. Beforehand, the chips were always returned in the order
> in which they were listed by the library. Also, each chip could be listed
> only once. From now on, the chips will be listed in the order in which
> they are passed on the command line, which I think makes more sense. A
> side effect is that chips can be listed more than once, if that's what
> the user asks for. Not very useful though.
>
> This change makes it possible to make sensors_match_chip() internal
> to the library. Filtering the list of chips returned by
> sensors_get_detected_chips() was the last known external use for this
> function.
>
> This patch looks much bigger than it really is, but the largest part is
> really only code reindentation.
>
Yes, making it harder to review, anyways reviewed and it looks good.
Maybe next time when there is lot of indentation changes include 2 patches, the
real one and one made with diff -uBb, the second one will then only show the
real changes.
Regards,
Hans
_______________________________________________
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-08-25 17:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-25 13:02 [lm-sensors] [PATCH 1/3] libsensors4: New prototype for Jean Delvare
2007-08-25 17:18 ` Hans de Goede [this message]
2007-08-26 7:20 ` 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=46D0645B.5060406@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--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.