All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: <shao.mingyin@zte.com.cn>
Cc: <mkp@kernel.org>,  <linux-scsi@vger.kernel.org>,
	<target-devel@vger.kernel.org>,
	 <James.Bottomley@HansenPartnership.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/2] target: remove dead kmap checks
Date: Sun, 08 Nov 2026 22:33:15 -0500	[thread overview]
Message-ID: <yq1a4niwufi.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261105193346452uAUQ3LtGtsQ_d_O9gjAw5@zte.com.cn>


> kmap() and kmap_local_page() never return NULL, so the checks after
> them are dead code. Remove them.
>
> No functional change intended; both patches are independent and can be
> applied on their own or as a subset.

Applied to 7.5/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-11-09  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 11:33 [PATCH 0/2] target: remove dead kmap checks shao.mingyin
2026-11-05 11:33 ` [PATCH 1/2] target: iblock: drop the dead kmap() NULL check shao.mingyin
2026-11-05 18:58   ` Laurence Oberman
2026-11-05 11:33 ` [PATCH 2/2] target: core: drop the dead kmap_local_page() " shao.mingyin
2026-11-09  3:33 ` 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=yq1a4niwufi.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=shao.mingyin@zte.com.cn \
    --cc=target-devel@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 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.