[PATCH v2] vfs: bogus warnings in fs/namei.c

2012-10-11 Thread Arnd Bergmann
The follow_link() function always initializes its *p argument, or returns an error, but when building with 'gcc -s', the compiler gets confused by the __always_inline attribute to the function and can no longer detect where the cookie was initialized. The solution is to always initialize the

[PATCH v2] vfs: bogus warnings in fs/namei.c

2012-10-11 Thread Arnd Bergmann
The follow_link() function always initializes its *p argument, or returns an error, but when building with 'gcc -s', the compiler gets confused by the __always_inline attribute to the function and can no longer detect where the cookie was initialized. The solution is to always initialize the