mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm: Fix is_gate_vma to have a == instead of a single =
@ 2013-08-09 11:39 Tobias Mueller
  2013-08-09 15:43 ` [PATCH v2] " Tobias Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Mueller @ 2013-08-09 11:39 UTC (permalink / raw)
  To: Russell King, Andrew Morton, Al Viro
  Cc: linux-arm-kernel, linux-kernel, Tobias Mueller

A typo was introduced when merging the "security-fixes" branch which made the
comparison an assignment.
---
 arch/arm/kernel/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 536c85f..94f6b05 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -462,7 +462,7 @@ int in_gate_area_no_mm(unsigned long addr)
 {
 	return in_gate_area(NULL, addr);
 }
-#define is_gate_vma(vma)	((vma) = &gate_vma)
+#define is_gate_vma(vma)	((vma) == &gate_vma)
 #else
 #define is_gate_vma(vma)	0
 #endif
-- 
1.7.8.6


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-09 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 11:39 [PATCH] arm: Fix is_gate_vma to have a == instead of a single = Tobias Mueller
2013-08-09 15:43 ` [PATCH v2] " Tobias Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®