Re: [PATCH] kconfig: Avoid format overflow warning from GCC 8.1

2018-06-05 Thread Masahiro Yamada
2018-06-03 1:02 GMT+09:00 Nathan Chancellor : > In file included from scripts/kconfig/zconf.tab.c:2485: > scripts/kconfig/confdata.c: In function ‘conf_write’: > scripts/kconfig/confdata.c:773:22: warning: ‘%s’ directive writing likely 7 > or more bytes into a region of size between 1 and 4097 [-W

[PATCH] kconfig: Avoid format overflow warning from GCC 8.1

2018-06-02 Thread Nathan Chancellor
In file included from scripts/kconfig/zconf.tab.c:2485: scripts/kconfig/confdata.c: In function ‘conf_write’: scripts/kconfig/confdata.c:773:22: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname,