diff options
author | Julian Stecklina <jsteckli@amazon.de> | 2017-10-03 15:47:17 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-10-06 09:16:58 -0400 |
commit | f703604b30958312e64a5b7fc74c606a2ececc15 (patch) | |
tree | 668a56423c5897f74e3b4294230a5808192977f1 /src/hw/usb-xhci.c | |
parent | 4b48839999c696b732ee6b2a03b18a47d9d324c2 (diff) | |
download | seabios-f703604b30958312e64a5b7fc74c606a2ececc15.tar.gz |
nvme: fix out of memory behavior
If the allocation of I/O queues ran out of memory, the code would fail to detect
that and happily use these queues at address zero. For me this happens for
systems with more than 7 NVMe controllers.
Fix the out of memory handling to gracefully handle this case.
Signed-off-by: Julian Stecklina <jsteckli@amazon.de>
Diffstat (limited to 'src/hw/usb-xhci.c')
0 files changed, 0 insertions, 0 deletions