linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: linux-scsi@vger.kernel.org, harvey.harrison@gmail.com
Subject: Re: + scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes.patch added to -mm tree
Date: Wed, 5 Mar 2008 16:47:30 -0800	[thread overview]
Message-ID: <20080305164730.684fa40f.akpm@linux-foundation.org> (raw)
In-Reply-To: <1204763247.3047.111.camel@localhost.localdomain>

On Wed, 05 Mar 2008 18:27:27 -0600
James Bottomley <James.Bottomley@HansenPartnership.com> wrote:

> > 
> > diff -puN drivers/scsi/ch.c~scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes drivers/scsi/ch.c
> > --- a/drivers/scsi/ch.c~scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes
> > +++ a/drivers/scsi/ch.c
> > @@ -739,11 +739,11 @@ static long ch_ioctl(struct file *file,
> >  		mutex_lock(&ch->lock);
> >  
> >  	voltag_retry:
> > -		memset(ch_cmd,0,sizeof(ch_cmd));
> > +		memset(ch_cmd, 0, sizeof(ch_cmd));
> >  		ch_cmd[0] = READ_ELEMENT_STATUS;
> >  		ch_cmd[1] = (ch->device->lun << 5) |
> >  			    (ch->voltags ? 0x10 : 0) |
> > -			    ch_elem_to_typecode(ch,elem);
> > +			    ch_elem_to_typecode(ch, elem);
> >  		ch_cmd[2] = (elem >> 8) & 0xff;
> >  		ch_cmd[3] = elem        & 0xff;
> >  		ch_cmd[5] = 1;
> 
> Please stop.  I'm not taking whitespace patches ... one per file no
> less.

This gets folded into the base patch - there is no incremental effect.

>  I take whitespace and other cleanups as part of real driver
> updates only.

That's what this does.

      reply	other threads:[~2008-03-06  0:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200803060016.m260Giml029428@imap1.linux-foundation.org>
2008-03-06  0:27 ` + scsi-chc-fix-shadowed-variable-warnings-checkpatch-fixes.patch added to -mm tree James Bottomley
2008-03-06  0:47   ` Andrew Morton [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=20080305164730.684fa40f.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=harvey.harrison@gmail.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;
as well as URLs for NNTP newsgroup(s).