Re: Compiling kernel with -Wformat-signedness gcc flag

2018-03-09 Thread Mathieu Malaterre
Hi Jeff, On Fri, Mar 9, 2018 at 2:24 PM, Jeffrey Walton wrote: > On Fri, Mar 9, 2018 at 8:16 AM, Himanshu Jha > wrote: >> Hello everyone, >> >> >> I just compiled the kernel by passing "-Wformat-signedness" flag >> >>

Re: Compiling kernel with -Wformat-signedness gcc flag

2018-03-09 Thread Jeffrey Walton
On Fri, Mar 9, 2018 at 8:16 AM, Himanshu Jha wrote: > Hello everyone, > > > I just compiled the kernel by passing "-Wformat-signedness" flag > > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html > > -Wformat-signedness: > If -Wformat is specified, also warn if

Compiling kernel with -Wformat-signedness gcc flag

2018-03-09 Thread Himanshu Jha
Hello everyone, I just compiled the kernel by passing "-Wformat-signedness" flag https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html -Wformat-signedness: If -Wformat is specified, also warn if the format string requires an unsigned argument and the argument is signed and vice versa. Now,