[PATCH v2 5/9] nvme: drop unreachable "off" case in reconnect_delay_show()
Nilay Shroff
nilay at linux.ibm.com
Fri Nov 6 05:17:32 PST 2026
On 11/6/26 7:57 AM, Guixin Liu wrote:
> The "off" case was copied from fast_io_fail_tmo_show(), but unlike
> fast_io_fail_tmo, reconnect_delay is an unsigned int that the option
> parser bounds to positive values and that has no off state. The
> comparison can only trigger when the raw value 4294967295 is written
> through sysfs, which is not a meaningful delay. Drop the case and
> the matching sentence in the ABI documentation.
>
> Signed-off-by: Guixin Liu<kanie at linux.alibaba.com>
Looks good to me:
Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>
More information about the Linux-nvme
mailing list