Re: [PATCH 0/2] target: remove dead kmap checks

From: Martin K. Petersen (Oracle)

Date: Tue Nov 17 2026 - 23:50:26 EST


On Thu, 05 Nov 2026 19:33:46 +0800, shao.mingyin@xxxxxxxxxx wrote:

> 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-queue, thanks!

[1/2] target: iblock: drop the dead kmap() NULL check
https://git.kernel.org/mkp/scsi/c/63d67440dc9f
[2/2] target: core: drop the dead kmap_local_page() NULL check
https://git.kernel.org/mkp/scsi/c/0fc91e802801

--
Martin K. Petersen