Re: [PATCH v3] uprobes: Use flexible array for xol_area bitmap

From
sashiko-bot@kernel.org
Date
2026-11-13 05:34:24
Also in
linux-perf-users
Reply to
Rosen Penev, 2026-11-13
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] uprobes: commit subject claims flexible array for fixed-size
  bitmap
--

commit 1d1d15ef8335187f18a7637def6f83ac3b705261
Author: Rosen Penev [off-list ref]

uprobes: Use flexible array for xol_area bitmap

This commit embeds the XOL slot bitmap directly into struct xol_area as a
fixed-size array instead of allocating and freeing it separately.
uprobes: Use flexible array for xol_area bitmap
[Severity: Low]
This isn't a bug, but the subject line still says "flexible array" even
though struct xol_area embeds bitmap as a fixed-size array
(bitmap[BITS_TO_LONGS(UINSNS_PER_PAGE)]) and the commit message body
describes it as a regular array.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261113052948.2668076-1-rosenp@gmail.com?part=1
Thread (3 messages) 3 messages, 3 authors, last reply 4d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help