Commit a1115a7
nvmf: clean up discovery args struct initialization
Replace literal zero initializers with the proper named constants:
.result = 0 -> removed (zero is the default for unspecified fields)
.lsp = 0 -> .lsp = NVMF_LOG_DISC_LSP_NONE
Also add the missing .timeout = NVME_DEFAULT_IOCTL_TIMEOUT in
_nvmf_discovery() to be consistent with nbft_discovery().
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: Martin Belanger <[email protected]>1 parent 11f4d6f commit a1115a7
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1985 | 1985 | | |
1986 | 1986 | | |
1987 | 1987 | | |
1988 | | - | |
1989 | | - | |
| 1988 | + | |
| 1989 | + | |
1990 | 1990 | | |
1991 | 1991 | | |
1992 | 1992 | | |
| |||
2668 | 2668 | | |
2669 | 2669 | | |
2670 | 2670 | | |
2671 | | - | |
2672 | 2671 | | |
2673 | | - | |
| 2672 | + | |
2674 | 2673 | | |
2675 | 2674 | | |
2676 | 2675 | | |
| |||
0 commit comments