From 0aa8730edc434acb0b05a93eb4fce6337a0047ee Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 20 Nov 2020 02:47:06 +0900 Subject: [PATCH] coccinelle: always use SYNTHETIC_ERRNO() macro --- coccinelle/synthetic-errno.cocci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coccinelle/synthetic-errno.cocci b/coccinelle/synthetic-errno.cocci index 3ddb69cb4c..650c37e08b 100644 --- a/coccinelle/synthetic-errno.cocci +++ b/coccinelle/synthetic-errno.cocci @@ -44,5 +44,5 @@ identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_ identifier ERRNO =~ "^E[A-Z]+$"; expression list args; @@ -- return log_LEVEL_errno(ERRNO, args); -+ return log_LEVEL_errno(SYNTHETIC_ERRNO(ERRNO), args); +- log_LEVEL_errno(ERRNO, args); ++ log_LEVEL_errno(SYNTHETIC_ERRNO(ERRNO), args);