Skip to content

lib/stackdepot.c: Replace one-element array with flexible-array member

Gustavo A. R. Silva linux-hardening lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew 2 of 3 applied

Patches in v1 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3lib/stackdepot.c: Replace one-element array with flexible-array memberlib/stackdepot.c+2 -30 replies
2/3lib/stackdepot.c: Use flex_array_size() helper in memcpy()lib/stackdepot.c+1 -10 repliesApplied
3/3lib/stackdepot.c: Use array_size() helper in jhash2()lib/stackdepot.c+2 -20 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

Patchkernel test robot
1/3Build-tested-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3][next] lib/stackdepot.c: Replace one-element array with flexible-array member

Hi,

This series aim to replace a one-element array with a flexible-array member. Also, make use of the struct_size(), flexible_array_size() and array_size() helpers.

Thanks
--
Gustavo

Gustavo A. R. Silva (3):
lib/stackdepot.c: Replace one-element array with flexible-array member lib/stackdepot.c: Use flex_array_size() helper in memcpy() lib/stackdepot.c: Use array_size() helper in jhash2()

 lib/stackdepot.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
Signature · 1 line
2.27.0