* [PATCH RESEND] include/asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue
@ 2021-11-03 19:42 Wasin Thonkaew
2021-11-04 14:38 ` Masami Hiramatsu
0 siblings, 1 reply; 3+ messages in thread
From: Wasin Thonkaew @ 2021-11-03 19:42 UTC (permalink / raw)
To: Arnd Bergmann, linux-arch, linux-kernel; +Cc: mhiramat, Wasin Thonkaew
Fix a spelling mistake "ganerating" -> "generating".
Remove trailing semicolon for a macro ALLOW_ERROR_INJECTION to fix a
coding style issue.
Signed-off-by: Wasin Thonkaew <wasin@wasin.io>
---
include/asm-generic/error-injection.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/asm-generic/error-injection.h b/include/asm-generic/error-injection.h
index 7ddd9dc10ce9..fbca56bd9cbc 100644
--- a/include/asm-generic/error-injection.h
+++ b/include/asm-generic/error-injection.h
@@ -20,7 +20,7 @@ struct pt_regs;
#ifdef CONFIG_FUNCTION_ERROR_INJECTION
/*
- * Whitelist ganerating macro. Specify functions which can be
+ * Whitelist generating macro. Specify functions which can be
* error-injectable using this macro.
*/
#define ALLOW_ERROR_INJECTION(fname, _etype) \
@@ -29,7 +29,7 @@ static struct error_injection_entry __used \
_eil_addr_##fname = { \
.addr = (unsigned long)fname, \
.etype = EI_ETYPE_##_etype, \
- };
+ }
void override_function_with_return(struct pt_regs *regs);
#else
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] include/asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue
2021-11-03 19:42 [PATCH RESEND] include/asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue Wasin Thonkaew
@ 2021-11-04 14:38 ` Masami Hiramatsu
0 siblings, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2021-11-04 14:38 UTC (permalink / raw)
To: Wasin Thonkaew; +Cc: Arnd Bergmann, linux-arch, linux-kernel, mhiramat
On Wed, 03 Nov 2021 19:42:36 +0000 (UTC)
Wasin Thonkaew <wasin@wasin.io> wrote:
> Fix a spelling mistake "ganerating" -> "generating".
> Remove trailing semicolon for a macro ALLOW_ERROR_INJECTION to fix a
> coding style issue.
This looks good to me.
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Thanks!
>
> Signed-off-by: Wasin Thonkaew <wasin@wasin.io>
> ---
> include/asm-generic/error-injection.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/asm-generic/error-injection.h b/include/asm-generic/error-injection.h
> index 7ddd9dc10ce9..fbca56bd9cbc 100644
> --- a/include/asm-generic/error-injection.h
> +++ b/include/asm-generic/error-injection.h
> @@ -20,7 +20,7 @@ struct pt_regs;
>
> #ifdef CONFIG_FUNCTION_ERROR_INJECTION
> /*
> - * Whitelist ganerating macro. Specify functions which can be
> + * Whitelist generating macro. Specify functions which can be
> * error-injectable using this macro.
> */
> #define ALLOW_ERROR_INJECTION(fname, _etype) \
> @@ -29,7 +29,7 @@ static struct error_injection_entry __used \
> _eil_addr_##fname = { \
> .addr = (unsigned long)fname, \
> .etype = EI_ETYPE_##_etype, \
> - };
> + }
>
> void override_function_with_return(struct pt_regs *regs);
> #else
> --
> 2.25.1
>
--
Masami Hiramatsu <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH RESEND] include/asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue
@ 2021-10-06 18:58 Wasin Thonkaew
0 siblings, 0 replies; 3+ messages in thread
From: Wasin Thonkaew @ 2021-10-06 18:58 UTC (permalink / raw)
To: Arnd Bergmann, linux-arch, linux-kernel; +Cc: mhiramat, wasin
Fix a spelling mistake "ganerating" -> "generating".
Remove trailing semicolon for a macro ALLOW_ERROR_INJECTION to fix a
coding style issue.
Signed-off-by: Wasin Thonkaew <wasin@wasin.io>
---
include/asm-generic/error-injection.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/asm-generic/error-injection.h b/include/asm-generic/error-injection.h
index 7ddd9dc10ce9..fbca56bd9cbc 100644
--- a/include/asm-generic/error-injection.h
+++ b/include/asm-generic/error-injection.h
@@ -20,7 +20,7 @@ struct pt_regs;
#ifdef CONFIG_FUNCTION_ERROR_INJECTION
/*
- * Whitelist ganerating macro. Specify functions which can be
+ * Whitelist generating macro. Specify functions which can be
* error-injectable using this macro.
*/
#define ALLOW_ERROR_INJECTION(fname, _etype) \
@@ -29,7 +29,7 @@ static struct error_injection_entry __used \
_eil_addr_##fname = { \
.addr = (unsigned long)fname, \
.etype = EI_ETYPE_##_etype, \
- };
+ }
void override_function_with_return(struct pt_regs *regs);
#else
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-04 14:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 19:42 [PATCH RESEND] include/asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue Wasin Thonkaew
2021-11-04 14:38 ` Masami Hiramatsu
-- strict thread matches above, loose matches on Subject: below --
2021-10-06 18:58 Wasin Thonkaew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).