public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: John Garry <john.garry@huawei.com>
Cc: <jejb@linux.ibm.com>, <martin.petersen@oracle.com>,
	<intel-linux-scu@intel.com>, <artur.paszkiewicz@intel.com>,
	<jinpu.wang@profitbricks.com>, <linux-scsi@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <hare@suse.de>
Subject: Re: [PATCH v2] scsi: libsas, lldds: Use dev_is_expander()
Date: Tue, 18 Jun 2019 20:56:03 -0400	[thread overview]
Message-ID: <yq1sgs6xujg.fsf@oracle.com> (raw)
In-Reply-To: <1560170501-220025-1-git-send-email-john.garry@huawei.com> (John Garry's message of "Mon, 10 Jun 2019 20:41:41 +0800")


John,

> Many times in libsas, and in LLDDs which use libsas, the check for an
> expander device is re-implemented or open coded.
>
> Use dev_is_expander() instead. We rename this from
> sas_dev_type_is_expander() to not spill so many lines in referencing.

Applied to 5.3/scsi-queue. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2019-06-19  0:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 12:41 [PATCH v2] scsi: libsas, lldds: Use dev_is_expander() John Garry
2019-06-19  0:56 ` Martin K. Petersen [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=yq1sgs6xujg.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=artur.paszkiewicz@intel.com \
    --cc=hare@suse.de \
    --cc=intel-linux-scu@intel.com \
    --cc=jejb@linux.ibm.com \
    --cc=jinpu.wang@profitbricks.com \
    --cc=john.garry@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --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