Re: [patch resend 4.12] compiler, clang: always inline when CONFIG_OPTIMIZE_INLINING is disabled

2017-06-26 Thread Sodagudi Prasad
On 2017-06-26 16:03, David Rientjes wrote: The motivation of commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused static inline functions") is to suppress clang's warnings about unused static inline functions. For configs without CONFIG_OPTIMIZE_INLINING enabled, such as any non

[patch resend 4.12] compiler, clang: always inline when CONFIG_OPTIMIZE_INLINING is disabled

2017-06-26 Thread David Rientjes
The motivation of commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused static inline functions") is to suppress clang's warnings about unused static inline functions. For configs without CONFIG_OPTIMIZE_INLINING enabled, such as any non-x86 architecture, `inline' in the kernel imp