[PATCH 3/4] syscalls/cachestat01: Add spaces around '<<' operator
Avinesh Kumar via ltp <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
From: Avinesh Kumar <avinesh.kumar-IBi9RG/[email protected]> $ make check-cachestat01 CHECK testcases/kernel/syscalls/cachestat/cachestat01.c cachestat01.c:75: CHECK: spaces preferred around that '<<' (ctx:VxV) Signed-off-by: Avinesh Kumar <avinesh.kumar-IBi9RG/[email protected]> --- testcases/kernel/syscalls/cachestat/cachestat01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/kernel/syscalls/cachestat/cachestat01.c b/testcases/kernel/syscalls/cachestat/cachestat01.c index 7cc72cc1bf21..1db530ffe9e5 100644 --- a/testcases/kernel/syscalls/cachestat/cachestat01.c +++ b/testcases/kernel/syscalls/cachestat/cachestat01.c @@ -72,7 +72,7 @@ static void setup(void) page_size = (int)sysconf(_SC_PAGESIZE); for (num_shift = 0; num_shift <= 15; num_shift++) { - if ((1lu<<num_shift) * page_size / 1024 >= tst_device->size) { + if ((1lu << num_shift) * page_size / 1024 >= tst_device->size) { tst_res(TINFO, "Limiting num_shift to %i", num_shift); break; } -- 2.54.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp