Re: [PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2017-02-28 Thread Brendan Gregg
On Tue, Jan 3, 2017 at 2:47 PM, Brendan Gregg wrote: > > On Fri, Dec 16, 2016 at 2:56 AM, Arnd Bergmann wrote: > > > > With arm-linux-gcc-4.2, almost every file we build in the kernel ends > > up with this warning: > > > > include/linux/fs.h:2648:

Re: [PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2017-02-28 Thread Brendan Gregg
On Tue, Jan 3, 2017 at 2:47 PM, Brendan Gregg wrote: > > On Fri, Dec 16, 2016 at 2:56 AM, Arnd Bergmann wrote: > > > > With arm-linux-gcc-4.2, almost every file we build in the kernel ends > > up with this warning: > > > > include/linux/fs.h:2648: warning: comparison of unsigned expression < 0

Re: [PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2017-01-03 Thread Brendan Gregg
On Fri, Dec 16, 2016 at 2:56 AM, Arnd Bergmann wrote: > > With arm-linux-gcc-4.2, almost every file we build in the kernel ends > up with this warning: > > include/linux/fs.h:2648: warning: comparison of unsigned expression < 0 is > always false > Thanks, I'd like to see this

Re: [PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2017-01-03 Thread Brendan Gregg
On Fri, Dec 16, 2016 at 2:56 AM, Arnd Bergmann wrote: > > With arm-linux-gcc-4.2, almost every file we build in the kernel ends > up with this warning: > > include/linux/fs.h:2648: warning: comparison of unsigned expression < 0 is > always false > Thanks, I'd like to see this fixed as a similar

[PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2016-12-16 Thread Arnd Bergmann
With arm-linux-gcc-4.2, almost every file we build in the kernel ends up with this warning: include/linux/fs.h:2648: warning: comparison of unsigned expression < 0 is always false Later versions don't have this problem, but it's easy enough to work around. Signed-off-by: Arnd Bergmann

[PATCH 11/13] fs: fix unsigned enum warning with gcc-4.2

2016-12-16 Thread Arnd Bergmann
With arm-linux-gcc-4.2, almost every file we build in the kernel ends up with this warning: include/linux/fs.h:2648: warning: comparison of unsigned expression < 0 is always false Later versions don't have this problem, but it's easy enough to work around. Signed-off-by: Arnd Bergmann ---