From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>,
LKML <linux-kernel@vger.kernel.org>,
LM Sensors <lm-sensors@lm-sensors.org>
Subject: Re: [lm-sensors] Hardware monitoring subsystem maintainer positionis open
Date: Thu, 12 Apr 2007 09:27:57 +0200 [thread overview]
Message-ID: <461DDF7D.1060101@hhs.nl> (raw)
In-Reply-To: <461dca480d7ec@wp.pl>
Krzysztof Helt wrote:
> This is comments from someone who is newbie to this list.
>
>> 1a) We need a set of review guidelines / a review checklist.
> Here is a start:
>
> Maybe these guidelines can be described in more details and with
> links or names of documents with more description.
>
Yes they should, this was just a quick list. Feel free to help writing a better
list. And I guess we should put this list in the wiki somewhere.
>> * Must follow kernel coding style guidelines
>
> Is there any tool to check this? If there is one, a basic
> instruction how to use it would be great.
>
No tool.
>> * sysfs interface must be in accordance with
> Documentation/hwmon/sysfs
>
> The documentation is still confusing to me. Can someone of you
> update it to answer these questions directly?
>
> A. What is meaning of 0 and 1 values in pwmX_enable ?
> B. How to stop the fan (pwmX_enable = 1 and pwmX = 0 was
> suggested to someone on the list)?
> C. How t o handle situation if the pwm register minimum value (0)
> does not stop the fan, but there is a separate bit to do it? (do
> stop emulate with the bit when 0 is written to pwmX?)
>
I think this is best answered by Jean and/or Mark
>> * proper locking to avoid 2 simultaneous attempts to
> communicate with the
>> device when for example multiple sysfs files get read at once.
>
> An example or two common errors would be great help.
>
Erm, if someone doesn't know what this means / how to look for this he
shouldn't be reviewing a driver.
>> * check the code for any obvious programming errors, like:
>> -not freeing resources (in error paths and in general)
>> -overrunning an array
>> -not checking return values of calls to other parts of the
> kernel
>> -of by one errors / bad loops
>> -etc.
>
> List them, so a newbie can check the code against it.
>
The etc. was because I'm sure there are more but I couldn't come up with any
right there and then. And again a newbie shouldn't be reviewing, he should
start reading some book in device drivers writing a driver or two himself get
those reviewed and then he should no longer be a newbie :)
>> 1b) We need to decide somehow who can do reviews. For now I say
> anyone who
>> already maintains atleast one hwmon driver. But thats just a
> wild shot better
>> ideas are welcome.
>>
>
> There are volunteers already. In order to lessen their work you
> can require to follow the guidelines (if they got described) by
> authors of patches .
Yes ofcourse authors should follow the guidelines, and check they did
themselves before submitting. Also its great that there are volunteers, but
reviewing does require a certain level of competence. There are many other ways
to help out for those without the necessary skills todo the reviewing.
For example you could check out the 3.0.0 branch:
svn checkout http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0
Edit lib/chips.c, goto the long array at the end and comment any entries for
chips you have. Optionally edit prog/sensors/main.c goto the array near the end
and again comment entries for chips you have.
Build and install lm-sensors-3.0.0 and let us know how it works, despite the
commenting it should still recognize your cips and print the same info as usual
(it can now dynamicly recognize new/unknown chips as long as the kernel
supports them). When you skipped the optional step run the sensors command as
'sensors -g', the normal sensors command will be borked if you skipped this step.
Thanks & Regards,
Hans
next prev parent reply other threads:[~2007-04-12 7:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070410150227.1bac05b5@hyperion.delvare>
2007-04-10 13:56 ` [lm-sensors] Hardware monitoring subsystem maintainer position is open David Hubbard
2007-04-10 15:40 ` Hans de Goede
2007-04-10 15:46 ` David Hubbard
2007-04-10 22:22 ` Rudolf Marek
2007-04-10 23:02 ` David Hubbard
2007-04-11 9:24 ` Hans de Goede
2007-04-11 15:08 ` Juerg Haefliger
[not found] ` <461dca480d7ec@wp.pl>
2007-04-12 7:27 ` Hans de Goede [this message]
2007-04-15 2:07 ` [lm-sensors] Hardware monitoring subsystem maintainer positionis open Dmitry Torokhov
2007-04-11 9:49 ` Hardware monitoring subsystem maintainer position is open Jean Delvare
2007-04-11 10:06 ` [lm-sensors] " David Hubbard
2007-04-11 14:49 ` Gene Heskett
2007-04-15 15:03 ` [lm-sensors] " Mark M. Hoffman
2007-04-15 17:54 ` Juerg Haefliger
2007-04-15 18:16 ` Rudolf Marek
2007-04-17 8:45 ` 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=461DDF7D.1060101@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=mhoffman@lightlink.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox