Re: [PATCH] scsi: ufs: core: Handle sentinel value for dHIDAvailableSize

From: Bart Van Assche

Date: Tue Jan 13 2026 - 11:42:14 EST


On 12/25/25 9:28 PM, Keoseong Park wrote:
JEDEC UFS spec defines 0xFFFFFFFF for dHIDAvailableSize as indicating no
valid fragmented size information. Returning the raw value can mislead
userspace. Return -ENODATA instead when the value is unavailable.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>