Re: [PATCH v2] tracing/dma: Cap dma_map_sg tracepoint arrays to prevent buffer overflow

From: Steven Rostedt

Date: Fri Jan 30 2026 - 11:57:53 EST


On Fri, 30 Jan 2026 11:27:47 -0500
Sean Anderson <sean.anderson@xxxxxxxxx> wrote:

> Reviwed-by: Sean Anderson <sean.anderson@xxxxxxxxx>
>
> Although it's a bit unusual that there's no limit on dynamic arrays like there is for %*ph.

Dynamic arrays are done in fast paths. I rather not add an extra branch to
test cases where its most likely not going to exceed the limit.

-- Steve