diff options
| author | Martin Kaiser <[email protected]> | 2024-02-26 20:11:59 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-04 17:01:22 -0800 |
| commit | 4c4a52544ae03d84ffd3b5e9593833ffe05485a1 (patch) | |
| tree | 87c9ee7f62ee9e197dc38a9faf10e7f69cd4e5e1 /tools/perf/scripts/python | |
| parent | e2c5bfebabaedbec8ca858b66f95f3a993428b0c (diff) | |
lib/test_vmalloc.c: use unsigned long constant
Use an unsigned long constant instead of an int constant and a cast. This
fixes the checkpatch warning
WARNING: Unnecessary typecast of c90 int constant - '(unsigned long) 1' could be '1UL'
+ align = ((unsigned long) 1) << i;
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Martin Kaiser <[email protected]>
Reviewed-by: Uladzislau Rezki (Sony) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions