[PATCH] nvme-host: prevent nvme-cli from setting invalid fast_io_fail_tmo values

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Nov 17 17:44:54 PST 2021


On 11/12/21 06:16, Maurizio Lombardi wrote:
> Valid fast_io_fail_tmo values are integers >= 0 or -1 (disabled).
> Prevent userspace from setting arbitrary negative values.
> 
> Signed-off-by: Maurizio Lombardi <mlombard at redhat.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>




More information about the Linux-nvme mailing list