Skip to content
Commit a4afedb0 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

sys: ring_buffer: allow NULL data buffers



Allow NULL data buffers to be provided to `ring_buf_get` and
`ring_buf_item_get`, in which case data will be discarded instead of
copied out to the user.

Fixes #33488.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 70fc8bd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment