summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-17 14:49:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-17 14:49:21 -0800
commit0aa0313f9d576affd7747cc3f179feb097d28990 (patch)
tree51a0dd43d162bced8b68ebb91e63772451a293f8 /include
parent4b19a9e20bf99d62e1c47554f8eb2d9f520642ba (diff)
parent5eb7c0d04f04a667c049fe090a95494a8de2955c (diff)
downloadlinux-0aa0313f9d576affd7747cc3f179feb097d28990.tar.gz
Merge tag 'modules-for-v4.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull modules fix from Jessica Yu:

 - fix out-of-tree module breakage when it supplies its own definitions
   of true and false

* tag 'modules-for-v4.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
  taint/module: Fix problems when out-of-kernel driver defines true or false
Diffstat (limited to 'include')
-rw-r--r--include/linux/kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 56aec84237ad..cb09238f6d32 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -514,8 +514,8 @@ extern enum system_states {
 #define TAINT_FLAGS_COUNT		16
 
 struct taint_flag {
-	char true;	/* character printed when tainted */
-	char false;	/* character printed when not tainted */
+	char c_true;	/* character printed when tainted */
+	char c_false;	/* character printed when not tainted */
 	bool module;	/* also show as a per-module taint flag */
 };