From 409da94704420c7d48fa5de97fca06303f7d0933 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 28 Oct 2014 13:26:27 +0300 Subject: [PATCH] shift_to_zero: fix an error message The original error message was cut and pasted and not what I intended. Signed-off-by: Dan Carpenter --- check_shift_to_zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_shift_to_zero.c b/check_shift_to_zero.c index 1c346050..95f7d058 100644 --- a/check_shift_to_zero.c +++ b/check_shift_to_zero.c @@ -62,7 +62,7 @@ static void match_binop2(struct expression *expr) if ((unsigned long long)-1 & mask.uvalue >> shift.uvalue) return; - sm_msg("warn: right shifting more than type allows"); + sm_msg("warn: mask and shift to zero"); } static void match_assign(struct expression *expr) -- 2.11.4.GIT