[PATCH v3 1/1] scsi: ufs: core: add device level exception support
Bao D. Nguyen
quic_nguyenb at quicinc.com
Wed Mar 19 02:01:07 PDT 2025
On 3/19/2025 12:56 AM, Peter Wang (王信友) wrote:
> Hi Bao,
>
> Could use atomic_t for counter protect?
Hi Peter,
Are you suggesting to convert the dev_lvl_exception_count type from u32
to atomic_t type? Because the value of dev_lvl_exception_count is
returned to the user space via the device_lvl_exception_count_show()
using the sysfs_emit() function, keeping the dev_lvl_exception_count as
u32 data type probably works better in terms of the format.
Thanks, Bao
More information about the linux-arm-kernel
mailing list