[PATCH v2] arm: Fix is_gate_vma to have a == instead of a single =
Tobias Mueller
muelli at cryptobitch.de
Fri Aug 9 11:43:59 EDT 2013
A typo was introduced when merging the "security-fixes" branch which made the
comparison an assignment.
Signed-off-by: Tobias Mueller <muelli at cryptobitch.de>
---
In the previous version I forgot the Signed-off-by header
---
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
More information about the linux-arm-kernel
mailing list