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

From: Martin K. Petersen

Date: Fri Jan 16 2026 - 23:11:54 EST



Keoseong,

> 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.

Applied to 6.20/scsi-staging, thanks!

--
Martin K. Petersen