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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~


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 mbm_test.c:11:
In file included from ./resctrl.h:24:
mbm_test.c:36:20: warning: taking the absolute value of unsigned type 'unsigned long' has no effect [-Wabsolute-value]
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^
mbm_test.c:36:20: note: remove the call to 'labs' since unsigned values cannot be negative
   36 |         avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc;
      |                           ^~~~