public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Ravi Anand <ravi.anand@qlogic.com>
Cc: James Bottomley <james.bottomley@suse.de>,
	Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>,
	Vikas Chaudhary <vikas.chaudhary@qlogic.com>,
	Karen Higgins <karen.higgins@qlogic.com>
Subject: Re: [PATCH 03/11] qla4xxx: Link Down -> Mark all devices missing
Date: Mon, 01 Feb 2010 12:16:42 -0600	[thread overview]
Message-ID: <4B671A8A.3060204@cs.wisc.edu> (raw)
In-Reply-To: <20100130062831.GD10274@linux-qf4p>

On 01/30/2010 12:28 AM, Ravi Anand wrote:
> +
> +	if (test_and_clear_bit(DPC_LINK_CHANGED,&ha->dpc_flags)) {
> +		if (!test_bit(AF_LINK_UP,&ha->flags)) {
> +		/* ---- link down? --- */
> +			list_for_each_entry_safe(ddb_entry, dtemp,&ha->ddb_list, list) {
> +			if (atomic_read(&ddb_entry->state) == DDB_STATE_ONLINE)

Need some tabbing.

> +				qla4xxx_mark_device_missing(ha, ddb_entry);
> +			}
> +		}
> +	}
>   }
>
>   /**


  reply	other threads:[~2010-02-01 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30  6:28 [PATCH 03/11] qla4xxx: Link Down -> Mark all devices missing Ravi Anand
2010-02-01 18:16 ` Mike Christie [this message]
2010-02-11 11:08   ` Ravi Anand

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=4B671A8A.3060204@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=james.bottomley@suse.de \
    --cc=karen.higgins@qlogic.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ravi.anand@qlogic.com \
    --cc=vikas.chaudhary@qlogic.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox