From 2fb87b9dd21023c6888be90db196835bba622d2f Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Thu, 28 Mar 2019 12:58:32 -0600 Subject: [PATCH] scripts/coccinelle: Update unsigned suffix script Update unsigned suffix script to properly match multiplication. Fix provided by Himanshu Jha. Signed-off-by: Patrik Flykt --- scripts/coccinelle/unsigned_suffix.cocci | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/coccinelle/unsigned_suffix.cocci b/scripts/coccinelle/unsigned_suffix.cocci index f63e2883f4..cb48d7b102 100644 --- a/scripts/coccinelle/unsigned_suffix.cocci +++ b/scripts/coccinelle/unsigned_suffix.cocci @@ -100,9 +100,8 @@ identifier r_rewrite.z; - C + z | - v * -- C -+ z +- v * C ++ v * z | v / - C