History

kernel/printk.c: Fixed mundane typos

s/sempahore/semaphore/ s/exacly/exactly/ s/unregistred/unregistered/ s/interation/iteration/

Bhaskar Chowdhury committed 5 years ago

Commit acebb551 parent 28e17451 file · +3 −3Browse files

Unified · Split

kernel/printk/printk.c+3−3
@@ -262,7 +262,7 @@ static void __up_console_sem(unsigned long ip) · 261 unmodified lines
262 * definitely not the perfect debug tool (we don't know if _WE_262 * definitely not the perfect debug tool (we don't know if _WE_
263 * hold it and are racing, but it helps tracking those weird code263 * hold it and are racing, but it helps tracking those weird code
264 * paths in the console code where we end up in places I want264 * 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).
266 */266 */
267static int console_locked, console_suspended;267static int console_locked, console_suspended;
268 268
@@ -2331,7 +2331,7 @@ static int __init console_setup(char *str) · 2062 unmodified lines
2331 /*2331 /*
2332 * console="" or console=null have been suggested as a way to2332 * console="" or console=null have been suggested as a way to
2333 * disable console output. Use ttynull that has been created2333 * disable console output. Use ttynull that has been created
2334 * for exacly this purpose.2334 * for exactly this purpose.
2335 */2335 */
2336 if (str[0] == 0 || strcmp(str, "null") == 0) {2336 if (str[0] == 0 || strcmp(str, "null") == 0) {
2337 __add_preferred_console("ttynull", 0, NULL, NULL, true);2337 __add_preferred_console("ttynull", 0, NULL, NULL, true);
@@ -3106,7 +3106,7 @@ void __init console_init(void) · 768 unmodified lines
3106 *3106 *
3107 * To mitigate this problem somewhat, only unregister consoles whose memory3107 * To mitigate this problem somewhat, only unregister consoles whose memory
3108 * intersects with the init section. Note that all other boot consoles will3108 * 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.
3110 */3110 */
3111static int __init printk_late_init(void)3111static int __init printk_late_init(void)
3112{3112{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t