Skip to content
Commit 9369c6f8 authored by Tom Burdick's avatar Tom Burdick Committed by Carles Cufí
Browse files

rtio: Make coverity happy



Coverity reported (rightfully) a possible divide by zero when trying to
allocate from a pool. Return -ENOMEM in such scenarios as it means there
is no memory to allocate from.

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