Skip to content

Commit acebb55

Browse files
unixbhaskarpmladek
authored andcommitted
kernel/printk.c: Fixed mundane typos
s/sempahore/semaphore/ s/exacly/exactly/ s/unregistred/unregistered/ s/interation/iteration/ Signed-off-by: Bhaskar Chowdhury <[email protected]> Reviewed-by: Petr Mladek <[email protected]> [[email protected]: Removed 4th hunk. The string has already been removed in the meantime.] Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 28e1745 commit acebb55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/printk/printk.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static void __up_console_sem(unsigned long ip)
262262
* definitely not the perfect debug tool (we don't know if _WE_
263263
* hold it and are racing, but it helps tracking those weird code
264264
* paths in the console code where we end up in places I want
265-
* locked without the console sempahore held).
265+
* locked without the console semaphore held).
266266
*/
267267
static int console_locked, console_suspended;
268268

@@ -2331,7 +2331,7 @@ static int __init console_setup(char *str)
23312331
/*
23322332
* console="" or console=null have been suggested as a way to
23332333
* disable console output. Use ttynull that has been created
2334-
* for exacly this purpose.
2334+
* for exactly this purpose.
23352335
*/
23362336
if (str[0] == 0 || strcmp(str, "null") == 0) {
23372337
__add_preferred_console("ttynull", 0, NULL, NULL, true);
@@ -3106,7 +3106,7 @@ void __init console_init(void)
31063106
*
31073107
* To mitigate this problem somewhat, only unregister consoles whose memory
31083108
* intersects with the init section. Note that all other boot consoles will
3109-
* get unregistred when the real preferred console is registered.
3109+
* get unregistered when the real preferred console is registered.
31103110
*/
31113111
static int __init printk_late_init(void)
31123112
{

0 commit comments

Comments
 (0)