Re: [PATCH v4 1/2] scsi: ufs: Use unsigned types for the BSG query
Bart Van Assche <[email protected]>
| Newsgroups | org.kernel.vger.linux-scsi,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/28/26 2:24 AM, Hyeoncheol Jeong wrote: > The UPIU query length field is an unsigned 16-bit value per the UFS > standard, but ufs_bsg carried it around in signed int. Switch the > descriptor length and buffer pointer to u16/u8, fold the trivial > ufs_bsg_get_query_desc_size() helper into its only caller, and replace > min_t(int, ...) with min(). No functional change intended. Reviewed-by: Bart Van Assche <[email protected]>