Skip to content
Commit 22273e34 authored by Tom Burdick's avatar Tom Burdick Committed by Maureen Helm
Browse files

rtio: Clear flags in prep helpers



Tests were failing when the sqe was allocated on the stack for some
architectures. Initialization of variables on the stack is not guaranteed
to be zeroed like static data. This caused undefined behavior.

Secondly if the sqe is recycled and had a flag set, there would
unexpected behavior as well.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent de9579f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment