Just eases debugging sparse/the context tracking itself. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- expression.c | 2 ++ linearize.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) --- sparse.orig/expression.c 2008-04-28 16:18:40.000000000 +0200 +++ sparse/expression.c 2008-04-28 16:18:40.000000000 +0200 @@ -648,6 +648,8 @@ static struct token *postfix_expression( copy->in = c->in; copy->out = c->out; copy->exact = c->exact; + copy->token = c->token; + copy->in_fn = c->context; add_ptr_list(&call->contexts, copy); if (!c->token) --- sparse.orig/linearize.c 2008-04-28 16:18:40.000000000 +0200 +++ sparse/linearize.c 2008-04-28 16:18:40.000000000 +0200 @@ -443,7 +443,7 @@ const char *show_instruction(struct inst expression_str(insn->context_expr, ctxbuf, sizeof(ctxbuf)); buf += sprintf(buf, "%s, ", ctxbuf); } - buf += sprintf(buf, "%d", insn->increment); + buf += sprintf(buf, "%d %d", insn->increment, insn->required); break; } case OP_RANGE: -- -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html