OWPASS value will be from 0 to 15.
Added the complete log data structure memebers, currently reseved
fields are ignored currently.
Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
__le32 est_ovrwrt_time_with_no_deallocate;
__le32 est_blk_erase_time_with_no_deallocate;
__le32 est_crypto_erase_time_with_no_deallocate;
+ __u8 rsvd32[480];
};
/*
}
if (cfg.sanact == NVME_SANITIZE_ACT_OVERWRITE) {
- if (cfg.owpass > 16) {
- fprintf(stderr, "OWPASS out of range [0-16]\n");
+ if (cfg.owpass >= 16) {
+ fprintf(stderr, "OWPASS out of range [0-15]\n");
ret = -EINVAL;
goto close_fd;
}