All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Kurt Garloff <garloff@suse.de>,
	Linux SCSI list <linux-scsi@vger.kernel.org>,
	Patrick Mansfield <patmans@us.ibm.com>
Subject: Re: [PATCH 2/3] Better log messages for PQ3 devs
Date: Wed, 29 Mar 2006 13:30:09 -0700	[thread overview]
Message-ID: <20060329203009.GC13590@parisc-linux.org> (raw)
In-Reply-To: <20060329201247.GI7919@tpkurt.suse.de>

On Wed, Mar 29, 2006 at 10:12:47PM +0200, Kurt Garloff wrote:
>  		 */
> -		SCSI_LOG_SCAN_BUS(3, printk(KERN_INFO
> -					"scsi scan: peripheral qualifier of 3,"
> -					" no device added\n"));
> +		SCSI_LOG_SCAN_BUS(2, printk(KERN_INFO "scsi scan: periph.qual. of 3,"
> +				" device %s not added\n",
> +				sdev->sdev_gendev.bus_id));

You seem to be suffering from long-line-itis, probably as a result of
too much exposure to ia64 code.  How about:

		SCSI_LOG_SCAN_BUS(2, printk(KERN_INFO "scsi scan: peripheral "
				"qualifier of 3, device %s not added\n",
				sdev->sdev_gendev.bus_id));

> +		if (lun == 0) {
> +			unsigned char vend[9], mod[17];
> +			SCSI_LOG_SCAN_BUS(1, printk(KERN_INFO "scsi scan: consider passing "
> +					"scsi_mod.dev_flags=%s:%s:0x240 or 0x800240\n",


Likewise:

			SCSI_LOG_SCAN_BUS(1, printk(KERN_INFO "scsi scan: "
					"consider passing scsi_mod.dev_flags="
					"%s:%s:0x240 or 0x800240\n",

> +					scsi_inq_str(vend, result, 8, 16),
> +					scsi_inq_str(mod, result, 16, 32)));
> +		}
> +		
>  		res = SCSI_SCAN_TARGET_PRESENT;
>  		goto out_free_result;
>  	}
>  
> -- 
> Kurt Garloff, Head Architect Linux R&D, Novell Inc.



  reply	other threads:[~2006-03-29 20:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 20:10 [PATCH 0/3] SCSI scanning for PQ3 devs Kurt Garloff
2006-03-29 20:11 ` [PATCH 1/3] Try LUN 1 and use bflags Kurt Garloff
2006-03-31 16:39   ` Patrick Mansfield
2006-03-29 20:12 ` [PATCH 2/3] Better log messages for PQ3 devs Kurt Garloff
2006-03-29 20:30   ` Matthew Wilcox [this message]
2006-03-29 22:12     ` Kurt Garloff
2006-03-29 22:23       ` James Bottomley
2006-03-29 20:13 ` [PATCH 3/3] BLIST_ATTACH_PQ3 flags Kurt Garloff
2006-04-03 13:16 ` [PATCH 1/3] Try LUN 1 and use bflags Kurt Garloff
2006-04-03 13:18 ` [PATCH 2/3] Better log messages for PQ3 devs Kurt Garloff
2006-04-03 13:20 ` [PATCH 3/3] BLIST_ATTACH_PQ3 flags Kurt Garloff

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=20060329203009.GC13590@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=garloff@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=patmans@us.ibm.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.