On Tue, 2017-09-05 at 10:35 +0200, Bastien Nocera wrote: > GCC's "format-nonliteral" security check is enabled as an error in > recent versions of Fedora. Given the reduced scope of use, mark the > error as ignorable through pragma. > > tools/csr_usb.c: In function 'read_value': > tools/csr_usb.c:82:2: error: format not a string literal, argument > types not checked [-Werror=format-nonliteral] > n = fscanf(file, format, &value); > ^ I also ran into this, which looks suspicious: obexd/plugins/bluetooth.c: In function 'register_profile': obexd/plugins/bluetooth.c:310:7: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] profile->driver->port); ^~~~~~~ obexd/plugins/bluetooth.c:314:7: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] profile->driver->name); ^~~~~~~ -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html