b96536e74a
Previously, if nvme_allocate_request() failed in nvme_ctrlr_construct_and_submit_aer(), there was no error checking, so a NULL pointer would be dereferenced. Add a return value to nvme_ctrlr_construct_and_submit_aer() so we can signal failure to the caller. This can only really be reasonably handled during initialization; when resubmitting a completed AER later, there is nowhere to report failure, so the AER will just remain unsubmitted. Change-Id: I413eb6c21be01cd9a61e67f62f2d0b7170eabaa3 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr.c | ||
nvme_impl.h | ||
nvme_internal.h | ||
nvme_ns_cmd.c | ||
nvme_ns.c | ||
nvme_qpair.c | ||
nvme.c |