From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Fubo Chen <fubo.chen@gmail.com>
Cc: "sdevrien@cisco.com" <sdevrien@cisco.com>,
"khali@linux-fr.org" <khali@linux-fr.org>,
"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] [PATCH v3] Add support for the Philips SA56004
Date: Sun, 26 Jun 2011 20:20:00 +0000 [thread overview]
Message-ID: <20110626202000.GA9067@ericsson.com> (raw)
In-Reply-To: <BANLkTi=gAqpDNBjCXzvNEhSuzm=3Mg9rVg@mail.gmail.com>
On Sun, Jun 26, 2011 at 03:54:37PM -0400, Fubo Chen wrote:
> On Mon, Jun 6, 2011 at 12:40 PM, <sdevrien@cisco.com> wrote:
> > + } else
> > + if (man_id = 0xA1) { /* NXP Semiconductor/Philips */
>
> No kernel coder writes like this. Has this ever been run through checkpatch ?
>
What a nice comment. Quite obviously _you_ did not run the patch through checkpatch
to back up yout claim. I did:
total: 0 errors, 0 warnings, 151 lines checked
The code format is in line with other if/else constructs in the same function,
which coincidentially also pass through checkpatch. Which you did not bother
checking either (neither the format of the code in lm90.c nor the results
of checkpatch over it).
Before making statements like this, you might want to consider spending some time
with the actual code - amongst others to see if the new code fits into the structure
of existing code.
If you want to improve code formatting in this or in other files, I would suggest
to submit patches.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Fubo Chen <fubo.chen@gmail.com>
Cc: "sdevrien@cisco.com" <sdevrien@cisco.com>,
"khali@linux-fr.org" <khali@linux-fr.org>,
"lm-sensors@lm-sensors.org" <lm-sensors@lm-sensors.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] Add support for the Philips SA56004 temperature sensor.
Date: Sun, 26 Jun 2011 13:20:00 -0700 [thread overview]
Message-ID: <20110626202000.GA9067@ericsson.com> (raw)
In-Reply-To: <BANLkTi=gAqpDNBjCXzvNEhSuzm=3Mg9rVg@mail.gmail.com>
On Sun, Jun 26, 2011 at 03:54:37PM -0400, Fubo Chen wrote:
> On Mon, Jun 6, 2011 at 12:40 PM, <sdevrien@cisco.com> wrote:
> > + } else
> > + if (man_id == 0xA1) { /* NXP Semiconductor/Philips */
>
> No kernel coder writes like this. Has this ever been run through checkpatch ?
>
What a nice comment. Quite obviously _you_ did not run the patch through checkpatch
to back up yout claim. I did:
total: 0 errors, 0 warnings, 151 lines checked
The code format is in line with other if/else constructs in the same function,
which coincidentially also pass through checkpatch. Which you did not bother
checking either (neither the format of the code in lm90.c nor the results
of checkpatch over it).
Before making statements like this, you might want to consider spending some time
with the actual code - amongst others to see if the new code fits into the structure
of existing code.
If you want to improve code formatting in this or in other files, I would suggest
to submit patches.
Thanks,
Guenter
next prev parent reply other threads:[~2011-06-26 20:20 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-06 10:40 [lm-sensors] [PATCH v3] Add support for the Philips SA56004 sdevrien
2011-06-06 10:40 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor sdevrien
2011-06-06 12:40 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Guenter Roeck
2011-06-06 12:40 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Guenter Roeck
2011-06-24 10:40 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Stijn Devriendt (sdevrien)
2011-06-24 10:40 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Stijn Devriendt (sdevrien)
2011-06-24 13:49 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Guenter Roeck
2011-06-24 13:49 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Guenter Roeck
2011-06-26 19:54 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Fubo Chen
2011-06-26 19:54 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Fubo Chen
2011-06-26 20:20 ` Guenter Roeck [this message]
2011-06-26 20:20 ` Guenter Roeck
2011-06-27 7:04 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Stijn Devriendt (sdevrien)
2011-06-27 7:04 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Stijn Devriendt (sdevrien)
2011-06-28 17:50 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Fubo Chen
2011-06-28 17:50 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Fubo Chen
2011-06-28 18:19 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Guenter Roeck
2011-06-28 18:19 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Guenter Roeck
2011-07-07 11:22 ` [lm-sensors] [PATCH v3] Add support for the Philips SA56004 Jean Delvare
2011-07-07 11:22 ` [PATCH v3] Add support for the Philips SA56004 temperature sensor Jean Delvare
2011-06-26 20:26 ` [lm-sensors] [v3] Add support for the Philips SA56004 Guenter Roeck
2011-06-26 20:26 ` [v3] Add support for the Philips SA56004 temperature sensor Guenter Roeck
2011-07-07 11:28 ` [lm-sensors] [v3] Add support for the Philips SA56004 Jean Delvare
2011-07-07 11:28 ` [v3] Add support for the Philips SA56004 temperature sensor 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=20110626202000.GA9067@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=fubo.chen@gmail.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=sdevrien@cisco.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 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.