mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: Hongjie Fang <hongjiefang@asrmicro.com>,
	James.Bottomley@HansenPartnership.com,
	martin.petersen@oracle.com, jgarzik@redhat.com,
	stern@rowland.harvard.edu, ming.m.lin@intel.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] scsi: core: pair EH runtime PM get/put
Date: Tue, 26 May 2026 12:52:24 -0700	[thread overview]
Message-ID: <cd74d73e-0784-4e16-8de7-ff17df13c8c1@acm.org> (raw)
In-Reply-To: <20260525064556.1277177-1-hongjiefang@asrmicro.com>

On 5/24/26 11:45 PM, Hongjie Fang wrote:
> -		if (!shost->eh_noresume)
> +		if (autopm_get)
>   			scsi_autopm_put_host(shost);

Since this variable controls whether or not scsi_autopm_put_host() is
called, autopm_put is probably a better name for this variable.

Thanks,

Bart.

      parent reply	other threads:[~2026-05-26 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25  6:45 Hongjie Fang
2026-05-25 15:12 ` Alan Stern
2026-05-26 19:52 ` Bart Van Assche [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=cd74d73e-0784-4e16-8de7-ff17df13c8c1@acm.org \
    --to=bvanassche@acm.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=hongjiefang@asrmicro.com \
    --cc=jgarzik@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=ming.m.lin@intel.com \
    --cc=stern@rowland.harvard.edu \
    /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

all inboxes | Powered by JetHome®