From 946a3754e1ebd19ef823ce5a94851446dac82b05 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 25 Jan 2012 10:18:53 +0300 Subject: [PATCH] conditions: add a __pass_to_client(expr, LOGIC_HOOK) Normally we call split_expr() on all the expressions here, but this one is missed and has to be handled. Signed-off-by: Dan Carpenter --- smatch_conditions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/smatch_conditions.c b/smatch_conditions.c index b1159375..92e56ad0 100644 --- a/smatch_conditions.c +++ b/smatch_conditions.c @@ -325,6 +325,7 @@ static void split_conditions(struct expression *expr) switch (expr->type) { case EXPR_LOGICAL: + __pass_to_client(expr, LOGIC_HOOK); handle_logical(expr); return; case EXPR_COMPARE: -- 2.11.4.GIT