mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Willem Riede <wrlk@riede.org>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: The survival of ide-scsi in 2.6.x [PATCH 2/3]
Date: Sat, 31 Jan 2004 22:49:03 +0100	[thread overview]
Message-ID: <20040131214903.GE11683@suse.de> (raw)
In-Reply-To: <20040131214513.GY23308@serve.riede.org>

On Sat, Jan 31 2004, Willem Riede wrote:
> On 2004.01.30 17:56, Bartlomiej Zolnierkiewicz wrote:
> > 
> > Can you split your patch and drop cosmetic changes?
> 
> Changes in this second patch:
> - some whitespace changes to improve readability
> - use consistent printk priorities
> 
> Regards, Willem Riede.
> 
> --- p1/drivers/scsi/ide-scsi.c	2004-01-31 15:37:31.000000000 -0500
> +++ p2/drivers/scsi/ide-scsi.c	2004-01-31 15:57:08.000000000 -0500
> @@ -54,7 +54,9 @@
>  #include "hosts.h"
>  #include <scsi/sg.h>
>  
> -#define IDESCSI_DEBUG_LOG		0
> +#define IDESCSI_DEBUG_LOG	0
> +#define IDESCSI_DEBUG		KERN_NOTICE
> +#define IDESCSI_LOG		KERN_INFO

Hmm

> @@ -309,23 +311,25 @@
>  
>  static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs)
>  {
> -	idescsi_scsi_t *scsi = drive_to_idescsi(drive);
> -	struct request *rq = HWGROUP(drive)->rq;
> -	idescsi_pc_t *pc = (idescsi_pc_t *) rq->special;
> -	int log = test_bit(IDESCSI_LOG_CMD, &scsi->log);
> +	idescsi_scsi_t   *scsi = drive_to_idescsi(drive);
> +	struct request   *rq  = HWGROUP(drive)->rq;
> +	idescsi_pc_t     *pc  = (idescsi_pc_t *) rq->special;
> +	int               log = test_bit(IDESCSI_LOG_CMD, &scsi->log);
>  	struct Scsi_Host *host;
> -	u8 *scsi_buf;
> -	unsigned long flags;
> +	u8               *scsi_buf;
> +	unsigned long     flags;

What is the point of this? Forget any (bogus) white space and style
"cleanups", it's totally irrelevant. Produce the patches fixing some
issues, cleanups are really not appropriate.

I hope your 3rd patch will be just that. Make sure it patch against
vanilla tree, not the two just sent.

-- 
Jens Axboe


  reply	other threads:[~2004-01-31 21:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 18:44 The survival of ide-scsi in 2.6.x James Bottomley
2003-12-30 22:18 ` Willem Riede
2004-01-03 19:08   ` Jens Axboe
2004-01-28 13:24     ` Willem Riede
2004-01-30 22:56       ` Bartlomiej Zolnierkiewicz
2004-01-31  0:48         ` Willem Riede
2004-01-31 21:42         ` The survival of ide-scsi in 2.6.x [PATCH 1/3] Willem Riede
2004-01-31 21:45         ` The survival of ide-scsi in 2.6.x [PATCH 2/3] Willem Riede
2004-01-31 21:49           ` Jens Axboe [this message]
2004-01-31 22:41             ` The survival of ide-scsi in 2.6.x [PATCH 3/3 bis] Willem Riede
2004-01-31 21:59         ` The survival of ide-scsi in 2.6.x [PATCH 3/3] Willem Riede

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=20040131214903.GE11683@suse.de \
    --to=axboe@suse.de \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wrlk@riede.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

Powered by JetHome