ipc_service: static_vrings: fix num_desc return value
currently when no enough memory is found a (1 << (-1)) value is returned
instead of 0.
Fix this by returning 0 and simplify log2 computation
Signed-off-by:
Riadh Ghaddab <rghaddab@baylibre.com>
Loading
Please sign in to comment