[PATCH 4.2.y-ckt 143/211] kconfig: Fix copy&paste error

Kamal Mostafa kamal at canonical.com
Tue Jan 5 19:44:11 UTC 2016


4.2.8-ckt1 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Michal Sojka <sojkam1 at fel.cvut.cz>

commit f6aad2615c8c4ed806e70693adacb6c93f13564a upstream.

Fixes: 31847b67bec0 ("kconfig: allow use of relations other than (in)equality")
Signed-off-by: Michal Sojka <sojkam1 at fel.cvut.cz>
Reviewed-by: Jan Beulich <jbeulich at suse.com>
Signed-off-by: Michal Marek <mmarek at suse.cz>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 scripts/kconfig/expr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c
index 667d1aa..cbf4996 100644
--- a/scripts/kconfig/expr.c
+++ b/scripts/kconfig/expr.c
@@ -1113,7 +1113,7 @@ void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *
 			fn(data, e->left.sym, e->left.sym->name);
 		else
 			fn(data, NULL, "<choice>");
-		fn(data, NULL, e->type == E_LEQ ? ">=" : ">");
+		fn(data, NULL, e->type == E_GEQ ? ">=" : ">");
 		fn(data, e->right.sym, e->right.sym->name);
 		break;
 	case E_UNEQUAL:
-- 
1.9.1





More information about the kernel-team mailing list