[PATCH] Fix NULL derefence in nvme_ctrl_fast_io_fail_tmo_show/store

Keith Busch kbusch at kernel.org
Wed Apr 14 15:13:57 BST 2021


On Wed, Apr 14, 2021 at 02:16:45PM +0530, Gopal Tiwari wrote:
> Adding entry for dev_attr_fast_io_fail_tmo to avoid the kernel crash
> while reading and writing the fast_io_fail_tmo.
> 
> Fixes: 09fbed636382 (nvme: export fast_io_fail_tmo to sysfs)

Looks good.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list