Coverity found that 'uuid', 'csi' and 'eui64' are uninitialized. While
we set most of the fields, we do not explicitly set the rsvd2 field in
the NvmeIdNsDescr header.
Fix this by explicitly zero-initializing the variables.
Reported-by: Coverity (CID 1458835, 1459295 and 1459580)
Fixes:
|
||
---|---|---|
.. | ||
ctrl.c | ||
dif.c | ||
Kconfig | ||
meson.build | ||
ns.c | ||
nvme.h | ||
subsys.c | ||
trace-events | ||
trace.h |