From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Kashyap, Desai" <kashyap.desai@lsi.com>
Cc: linux-scsi@vger.kernel.org, Eric.Moore@lsi.com, Sathya.Prakash@lsi.com
Subject: Re: [PATCH 01/06] mptfusion: (New Feature)Added new sysfs parameters for handle and firmware id
Date: Sat, 12 Feb 2011 13:55:06 -0600 [thread overview]
Message-ID: <1297540506.3026.27.camel@mulgrave.site> (raw)
In-Reply-To: <20110210061934.GB31424@lsi.com>
On Thu, 2011-02-10 at 11:49 +0530, Kashyap, Desai wrote:
> New feature is added. sas_device_hanlde and firmware id will be visible from
> sysfs parameters. handle and firmware id is internal to LSI firmware.
> It is merely debugging purpose.
Broken record time: checkpatch.pl:
WARNING: please, no space before tabs
#21: FILE: drivers/message/fusion/mptbase.h:402:
+^Iu16 ^I^I handle;$
WARNING: please, no spaces at the start of a line
#67: FILE: drivers/message/fusion/mptscsih.c:3350:
+ char *buf)$
ERROR: code indent should use tabs where possible
#79: FILE: drivers/message/fusion/mptscsih.c:3362:
+ ^I^INULL);$
WARNING: please, no space before tabs
#79: FILE: drivers/message/fusion/mptscsih.c:3362:
+ ^I^INULL);$
WARNING: please, no spaces at the start of a line
#79: FILE: drivers/message/fusion/mptscsih.c:3362:
+ ^I^INULL);$
WARNING: please, no spaces at the start of a line
#91: FILE: drivers/message/fusion/mptscsih.c:3374:
+ char *buf)$
ERROR: code indent should use tabs where possible
#103: FILE: drivers/message/fusion/mptscsih.c:3386:
+ ^I^INULL);$
WARNING: please, no space before tabs
#103: FILE: drivers/message/fusion/mptscsih.c:3386:
+ ^I^INULL);$
WARNING: please, no spaces at the start of a line
#103: FILE: drivers/message/fusion/mptscsih.c:3386:
+ ^I^INULL);$
total: 2 errors, 7 warnings, 93 lines checked
Also, as I read through this patch, doesn't it add these two parameters
for every fusion device type (SPI, SAS and FC) but only set them for
SAS? If you want SAS only parameters, they should probably be visible
only for SAS cards.
James
next prev parent reply other threads:[~2011-02-12 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 6:19 [PATCH 01/06] mptfusion: (New Feature)Added new sysfs parameters for handle and firmware id Kashyap, Desai
2011-02-12 19:55 ` James Bottomley [this message]
2011-02-16 11:48 ` Desai, Kashyap
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=1297540506.3026.27.camel@mulgrave.site \
--to=james.bottomley@hansenpartnership.com \
--cc=Eric.Moore@lsi.com \
--cc=Sathya.Prakash@lsi.com \
--cc=kashyap.desai@lsi.com \
--cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox