From b765eb834a6b61099fcabb674a98b02af17421b1 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Sun, 12 Apr 2009 22:09:57 +0300 Subject: [PATCH] Typo: <= instead of >= Signed-off-by: Dan Carpenter --- smatch_extra_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_extra_helper.c b/smatch_extra_helper.c index 28053888..9485051c 100644 --- a/smatch_extra_helper.c +++ b/smatch_extra_helper.c @@ -257,7 +257,7 @@ static int false_comparison_range(struct data_range *left, int comparison, struc return 0; case '>': case SPECIAL_UNSIGNED_GT: - if (left->min >= right->max) + if (left->min <= right->max) return 1; return 0; case SPECIAL_NOTEQUAL: -- 2.11.4.GIT