aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorwenhuizhang <[email protected]>2021-06-28 19:38:12 -0700
committerLinus Torvalds <[email protected]>2021-06-29 10:53:50 -0700
commitb51478a0b3c7040bfcadf6e2e04df5ddde59fd98 (patch)
treeed0c52e77eac0b5fb48b5de989d3ef53b2f9160d /tools/perf/scripts/python/bin
parent9ef56b78b888c2fa15b6140fbdb88853d7d4fecd (diff)
memcontrol: use flexible-array member
Change deprecated zero-length-and-one-element-arrays into flexible array member.Zero-length and one-element arrays detected by Lukas's CodeChecker. Zero/one element arrays cause undefined behaviours if sizeof() used. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: wenhuizhang <[email protected]> Reviewed-by: Muchun Song <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Muchun Song <[email protected]> Cc: Yang Shi <[email protected]> Cc: Alex Shi <[email protected]> Cc: Alexander Duyck <[email protected]> Cc: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions