1. The 1 && in the if condition is unnecessary 2. The else if (status == NVME_SUCCESS) block will never be reached. https://github.com/MoatLab/FEMU/blob/1c2d358c1c6bc12ea38c17fb834a4470a53722e5/hw/femu/nvme-io.c#L76-L85
FEMU/hw/femu/nvme-io.c
Lines 76 to 85 in 1c2d358