Signed-off-by: Alexey Zaytsev <alexey.zaytsev@xxxxxxxxx> --- symbol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/symbol.c b/symbol.c index 49560ee..4da253b 100644 --- a/symbol.c +++ b/symbol.c @@ -49,7 +49,7 @@ struct symbol *lookup_symbol(struct ident *ident, enum namespace ns) return sym; } } - return sym; + return NULL; } struct context *alloc_context(void) -- 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