Snippets for linux 7.1.5 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/main/linux-tools/linux-tools-7.1.5-r0.log.
-
parse.c:88:67: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 88 | snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log", | ~~^ | | | long int | %lli 89 | dirname, sysdata.nodename, sysdata.release, time(NULL)); | ~~~~~~~~~~ | | | time_t {aka long long int} -
parse.c:91:61: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 91 | snprintf(filename, len - 1, "%s/benchmark_%li.log", | ~~^ | | | long int | %lli 92 | dirname, time(NULL)); | ~~~~~~~~~~ | | | time_t {aka long long int} -
jit_disasm.c:424:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'ssize_t' {aka 'int'} [-Wsign-compare] 424 | } while (count > 0 && pc < len); | ^ -
builtin-kvm.c:1047:25: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 1047 | pr_info("%s.%06ld", date, tv.tv_usec); | ^~~~~~~~~~