aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorMartin George <[email protected]>2021-02-11 17:58:26 +0000
committerChristoph Hellwig <[email protected]>2021-03-05 12:41:03 +0000
commit32feb6de47242e54692eceab52cfae8616aa0518 (patch)
treed5aac1927c9392e65ab94242e617ee5eca0c2343 /scripts/gcc-plugins/structleak_plugin.c
parentnvme-hwmon: Return error code when registration fails (diff)
downloadkernel-32feb6de47242e54692eceab52cfae8616aa0518.tar.gz
kernel-32feb6de47242e54692eceab52cfae8616aa0518.zip
nvme-fabrics: fix kato initialization
Currently kato is initialized to NVME_DEFAULT_KATO for both discovery & i/o controllers. This is a problem specifically for non-persistent discovery controllers since it always ends up with a non-zero kato value. Fix this by initializing kato to zero instead, and ensuring various controllers are assigned appropriate kato values as follows: non-persistent controllers - kato set to zero persistent controllers - kato set to NVMF_DEV_DISC_TMO (or any positive int via nvme-cli) i/o controllers - kato set to NVME_DEFAULT_KATO (or any positive int via nvme-cli) Signed-off-by: Martin George <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions