Re: [PATCH 1/5] scsi: ufs: drop the unreachable offset check

From: Bart Van Assche

Date: Thu Nov 05 2026 - 12:57:34 EST


On 11/5/26 3:33 AM, shao.mingyin@xxxxxxxxxx wrote:
ufshcd_read_desc_param() rejects param_offset >= buff_len before it
reaches the is_kmalloc block, so the repeated check there can never be
true. Keep only the memcpy().
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>