Skip to content

Commit 733e417

Browse files
haxporarndb
authored andcommitted
asm-generic/error-injection.h: fix a spelling mistake, and a coding style issue
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> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent e0cb565 commit 733e417

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/asm-generic/error-injection.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct pt_regs;
2020

2121
#ifdef CONFIG_FUNCTION_ERROR_INJECTION
2222
/*
23-
* Whitelist ganerating macro. Specify functions which can be
23+
* Whitelist generating macro. Specify functions which can be
2424
* error-injectable using this macro.
2525
*/
2626
#define ALLOW_ERROR_INJECTION(fname, _etype) \
@@ -29,7 +29,7 @@ static struct error_injection_entry __used \
2929
_eil_addr_##fname = { \
3030
.addr = (unsigned long)fname, \
3131
.etype = EI_ETYPE_##_etype, \
32-
};
32+
}
3333

3434
void override_function_with_return(struct pt_regs *regs);
3535
#else

0 commit comments

Comments
 (0)