[PATCH RESEND] Coccinelle: pm_runtime: Fix typo in report message

Thorsten Blum posted 1 patch 1 week, 2 days ago
scripts/coccinelle/api/pm_runtime.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH RESEND] Coccinelle: pm_runtime: Fix typo in report message
Posted by Thorsten Blum 1 week, 2 days ago
s/Unecessary/Unnecessary/

Reviewed-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 scripts/coccinelle/api/pm_runtime.cocci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccinelle/api/pm_runtime.cocci b/scripts/coccinelle/api/pm_runtime.cocci
index 2c931e748dda..e29ac3a87d96 100644
--- a/scripts/coccinelle/api/pm_runtime.cocci
+++ b/scripts/coccinelle/api/pm_runtime.cocci
@@ -110,5 +110,5 @@ p2 << r.p2;
 pm_runtime_api << r.pm_runtime_api;
 @@
 
-msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
+msg = "%s returns < 0 as error. Unnecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
 coccilib.report.print_report(p1[0],msg)
-- 
2.51.1
Re: [PATCH RESEND] Coccinelle: pm_runtime: Fix typo in report message
Posted by Julia Lawall 1 week, 2 days ago

On Sat, 22 Nov 2025, Thorsten Blum wrote:

> s/Unecessary/Unnecessary/
>
> Reviewed-by: Julia Lawall <julia.lawall@inria.fr>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>

Applied, thanks.

> ---
>  scripts/coccinelle/api/pm_runtime.cocci | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/api/pm_runtime.cocci b/scripts/coccinelle/api/pm_runtime.cocci
> index 2c931e748dda..e29ac3a87d96 100644
> --- a/scripts/coccinelle/api/pm_runtime.cocci
> +++ b/scripts/coccinelle/api/pm_runtime.cocci
> @@ -110,5 +110,5 @@ p2 << r.p2;
>  pm_runtime_api << r.pm_runtime_api;
>  @@
>
> -msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
> +msg = "%s returns < 0 as error. Unnecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
>  coccilib.report.print_report(p1[0],msg)
> --
> 2.51.1
>
>