Snippets for rasdaemon 0.8.0 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/rasdaemon/0.8.0/10.fc45/data/logs/i686/build.log.
-
ras-aer-handler.c:72:28: warning: unused variable ‘fn’ [-Wunused-variable] 72 | int seg, bus, dev, fn; | ^~ -
ras-aer-handler.c:72:23: warning: unused variable ‘dev’ [-Wunused-variable] 72 | int seg, bus, dev, fn; | ^~~ -
ras-aer-handler.c:72:18: warning: unused variable ‘bus’ [-Wunused-variable] 72 | int seg, bus, dev, fn; | ^~~ -
ras-aer-handler.c:72:13: warning: unused variable ‘seg’ [-Wunused-variable] 72 | int seg, bus, dev, fn; | ^~~ -
ras-aer-handler.c:71:17: warning: variable ‘sel_data’ set but not used [-Wunused-but-set-variable=] 71 | uint8_t sel_data[5]; | ^~~~~~~~ -
ras-aer-handler.c:70:14: warning: unused variable ‘ipmi_add_sel’ [-Wunused-variable] 70 | char ipmi_add_sel[105]; | ^~~~~~~~~~~~ -
ras-events.c:701:28: warning: format ‘%zu’ expects argument of type ‘size_t *’, but argument 3 has type ‘time_t *’ {aka ‘long int *’} [-Wformat=] 701 | rc = fscanf(fp, "%zu.%u ", &uptime, &j1); | ~~^ ~~~~~~~ | | | | | time_t * {aka long int *} | unsigned int * | %lu -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 15 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 16 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 17 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:140:25: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 18 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 140 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:239:25: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 239 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~ -
ras-report.c:239:25: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=] 239 | sprintf(bt_buf, "BACKTRACE=" \ | ^~~~~~~~~~~~