mbox series

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

Message ID cover.1596214831.git.gustavoars@kernel.org
Headers show
Series Use flexible_array_size() helper in memcpy() | expand

Message

Gustavo A. R. Silva July 31, 2020, 5:12 p.m. UTC
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(-)