aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDenys Vlasenko <[email protected]>2016-03-29 22:14:57 +0000
committerIngo Molnar <[email protected]>2016-03-30 10:50:17 +0000
commit283d757378371e8044d873e661b1dccee46c5887 (patch)
tree620007c3cc5ca20caf8f2aa7eb3e002f042d1b78 /lib/string_helpers.c
parenttools/lib/lockdep: Fix unsupported 'basename -s' in run_tests.sh (diff)
downloadkernel-283d757378371e8044d873e661b1dccee46c5887.tar.gz
kernel-283d757378371e8044d873e661b1dccee46c5887.zip
uapi/linux/stddef.h: Provide __always_inline to userspace headers
Josh Boyer reported that my recent change to uapi/linux/swab.h broke the Qemu build: bc27fb68aaad ("include/uapi/linux/byteorder, swab: force inlining of some byteswap operations") Unfortunately, UAPI headers don't include compiler.h so fixing it there is not enough, add an __always_inline definition to uapi/linux/stddef.h instead. Testcase: "make headers_install" and try to compile this: #include <linux/swab.h> void main() {} Reported-by: Josh Boyer <[email protected]> Signed-off-by: Denys Vlasenko <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: David Rientjes <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Thomas Graf <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions