On 4/27/23 9:10 AM, Anuj Gupta wrote: > s->sq_ring.ring_entries and s->cq_ring.ring_entries will be NULL, > incase setup_ring fails. This will cause a segmentation fault. > > In case setup_ring fails, bail out by setting finish. Any reason why we don't just use the return code of submitter_init() on whether to abort or not? -- Jens Axboe