Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
arm
arm64
i386
x86_64

make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/2/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~


make  -C /builds/linux/tools/lib/bpf OUTPUT=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest/net/tools/build/libbpf/     \
make[4]: Entering directory '/builds/linux/tools/testing/selftests/resctrl'
In file included from cache.c:4:
In file included from ./resctrl.h:24:
cache.c:292:19: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^
cache.c:292:19: note: remove the call to 'abs' since unsigned values cannot be negative
  292 |         avg_diff = (long)abs(cache_span - avg_llc_val);
      |                          ^~~