aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorRoman Gushchin <roman.gushchin@linux.dev>2024-07-12 18:35:14 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-07-17 21:05:19 -0700
commit5316b497c51fee98b399c055a76f10088dcdce2b (patch)
tree98271c8246eccad03418954459d9be6f7f5dd825 /tools/testing/radix-tree/xarray.c
parent6ab42fe21c84d72da752923b4bd7075344f4a362 (diff)
mm: memcg1: convert charge move flags to unsigned long long
Currently MOVE_ANON and MOVE_FILE flags are defined as integers and it leads to the following Smatch static checker warning: mm/memcontrol-v1.c:609 mem_cgroup_move_charge_write() warn: was expecting a 64 bit value instead of '~(1 | 2)' Fix this be redefining them as unsigned long long. Even though the issue allows to set high 32 bits of mc.flags to an arbitrary number, these bits are never used, so it doesn't have any significant consequences. Link: https://lkml.kernel.org/r/ZpF8Q9zBsIY7d2P9@google.com Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions