Edward Liaw
cc937dad85
selftests: centralize -D_GNU_SOURCE= to CFLAGS in lib.mk
...
Centralize the _GNU_SOURCE definition to CFLAGS in lib.mk. Remove
redundant defines from Makefiles that import lib.mk. Convert any usage of
"#define _GNU_SOURCE 1" to "#define _GNU_SOURCE".
This uses the form "-D_GNU_SOURCE=", which is equivalent to
"#define _GNU_SOURCE".
Otherwise using "-D_GNU_SOURCE" is equivalent to "-D_GNU_SOURCE=1" and
"#define _GNU_SOURCE 1", which is less commonly seen in source code and
would require many changes in selftests to avoid redefinition warnings.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Edward Liaw <[email protected] >
Suggested-by: John Hubbard <[email protected] >
Acked-by: Shuah Khan <[email protected] >
Reviewed-by: Muhammad Usama Anjum <[email protected] >
Cc: Albert Ou <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: David S. Miller <[email protected] >
Cc: Eric Dumazet <[email protected] >
Cc: Eric W. Biederman <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jakub Kicinski <[email protected] >
Cc: Jarkko Sakkinen <[email protected] >
Cc: Jason Gunthorpe <[email protected] >
Cc: Kees Cook <[email protected] >
Cc: Kevin Tian <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paolo Abeni <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Reinette Chatre <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2024-07-10 12:14:51 -07:00
Masahiro Yamada
d198b34f38
.gitignore: add SPDX License Identifier
...
Add SPDX License Identifier to all .gitignore files.
Signed-off-by: Masahiro Yamada <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2020-03-25 11:50:48 +01:00
Thomas Gleixner
ec8f24b7fa
treewide: Add SPDX license identifier - Makefile/Kconfig
...
Add SPDX license identifiers to all Make/Kconfig files which:
- Have no license information of any form
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:
GPL-2.0-only
Signed-off-by: Thomas Gleixner <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-05-21 10:50:46 +02:00
Alexey Dobriyan
a33228682c
tmpfs: test link accounting with O_TMPFILE
...
Mount tmpfs with "nr_inodes=3" for easy check.
Link: http://lkml.kernel.org/r/20190219215016.GA20084@avx2
Signed-off-by: Alexey Dobriyan <[email protected] >
Reviewed-by: Andrew Morton <[email protected] >
Cc: Darrick J. Wong <[email protected] >
Cc: Hugh Dickins <[email protected] >
Cc: Matej Kupljen <[email protected] >
Cc: Al Viro <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2019-03-05 21:07:20 -08:00