quoted
+ if (!ctrl->subsys->type == NVME_NQN_DISC &&
I think the normal way to write this would be a !=.
:)
quoted
+ (nvmet_cc_iosqes(ctrl->cc) != NVME_NVM_IOSQES ||
+ nvmet_cc_iocqes(ctrl->cc) != NVME_NVM_IOCQES)) {
By the spec we'd need to check these are 0, but of course we'd break
the existing Linux host. Maybe throw in a comment?
Sure, I'll add it.
_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme