diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2021-11-12 15:16:12 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-11-23 17:22:41 +0100 |
commit | 8e8aaf512a91ae44d40647a88b51326c7b0a70a8 (patch) | |
tree | be2ae3b061d5052c8e22672d5890482334607cb8 /drivers/spi/spi-xilinx.c | |
parent | nvme-pci: add NO APST quirk for Kioxia device (diff) | |
download | linux-8e8aaf512a91ae44d40647a88b51326c7b0a70a8.tar.xz linux-8e8aaf512a91ae44d40647a88b51326c7b0a70a8.zip |
nvme-fabrics: ignore invalid fast_io_fail_tmo values
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@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/spi/spi-xilinx.c')
0 files changed, 0 insertions, 0 deletions