[PATCH 0/2][next] Use flexible_array_size() helper in memcpy()

From: Gustavo A. R. Silva
Date: Fri Jul 31 2020 - 13:06:06 EST


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(-)

--
2.27.0