From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Chauhan, Vijay" <Vijay.Chauhan@lsi.com>
Cc: "dm-devel@redhat.com" <dm-devel@redhat.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH][RESUBMIT] scsi_dh_rdac: Retry mode select for NO_SENSE, ABORTED_COMMAND, UNIT_ATTENTION, NOT_READY(02/04/01)
Date: Wed, 11 Mar 2009 20:48:50 +0000 [thread overview]
Message-ID: <1236804530.3270.92.camel@localhost.localdomain> (raw)
In-Reply-To: <0D1E8821739E724A86F4D16902CE275C140E25C59C@inbmail01.lsi.com>
On Wed, 2009-03-04 at 12:17 +0530, Chauhan, Vijay wrote:
> Hi Hannes,
>
> Thanks for your comment. I have modified the patch with correct indentation. Resubmitting this patch.
> For other ASC/ASQ codes (ie 04/04 - 04/09), I am currently working on it and will be adding it
> in future if needed.
checkpatch.pl doesn't like you very much:
jejb@mulgrave> ./scripts/checkpatch.pl ~/tmp.mail
ERROR: spaces required around that '=' (ctx:VxW)
#135: FILE: drivers/scsi/device_handler/scsi_dh_rdac.c:464:
+ err= SCSI_DH_RETRY;
^
WARNING: line over 80 characters
#154: FILE: drivers/scsi/device_handler/scsi_dh_rdac.c:482:
+ "MODE_SELECT failed with sense %02x/%02x/%02x.\n",sense_hdr.sense_key,
ERROR: space required after that ',' (ctx:VxV)
#154: FILE: drivers/scsi/device_handler/scsi_dh_rdac.c:482:
+ "MODE_SELECT failed with sense %02x/%02x/%02x.\n",sense_hdr.sense_key,
^
ERROR: space prohibited before that close parenthesis ')'
#155: FILE: drivers/scsi/device_handler/scsi_dh_rdac.c:483:
+ sense_hdr.asc, sense_hdr.ascq );
total: 3 errors, 1 warnings, 54 lines checked
I fixed all of this, but could you try running checkpatch.pl before
submitting, next time.
James
prev parent reply other threads:[~2009-03-11 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 5:56 [PATCH]scsi_dh_rdac: Retry mode select for NO_SENSE, ABORTED_COMMAND, UNIT_ATTENTION, NOT_READY(02/04/01) Chauhan, Vijay
2009-03-02 15:44 ` Hannes Reinecke
2009-03-04 6:47 ` [PATCH][RESUBMIT] scsi_dh_rdac: " Chauhan, Vijay
2009-03-10 18:48 ` Chandra Seetharaman
2009-03-11 20:48 ` James Bottomley [this message]
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=1236804530.3270.92.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=Vijay.Chauhan@lsi.com \
--cc=dm-devel@redhat.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 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.