Skip to content

Use flexible_array_size() helper in memcpy()

Gustavo A. R. Silva cgroups linux-mm lkml 1 version Applied

Status from this message: [merged] mm-memcontrol-use-the-preferred-form-for-passing-the-size-of-a-structure-type.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: memcontrol: Use flex_array_size() helper in memcpy()mm/memcontrol.c+3 -41 replyApplied
2/2mm: memcontrol: Use the preferred form for passing the size of a structure typemm/memcontrol.c+1 -11 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichal Hocko
1/2A-b
2/2A-b

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/2][next] Use flexible_array_size() helper in memcpy()

Hi,

This small series aims to:

1. Make use of the flexible_array_size() helper in a call to memcpy()
2. While there, use the preferred form for passing the size of a structure type

Thanks

Gustavo A. R. Silva (2):
mm: memcontrol: Use flex_array_size() helper in memcpy()
mm: memcontrol: Use the preferred form for passing the size of a
structure type

 mm/memcontrol.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Signature · 1 line
2.27.0