Commit 4cbb05e8 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix a doc error and misleading printk

parent 04e24ebd
......@@ -2080,7 +2080,7 @@ asmlinkage long sys_sched_get_priority_max(int policy)
}
/**
* sys_sched_get_priority_mix - return minimum RT priority.
* sys_sched_get_priority_min - return minimum RT priority.
* @policy: scheduling class.
*
* this syscall returns the minimum rt_priority that can be used
......@@ -2541,7 +2541,7 @@ void __might_sleep(char *file, int line)
if (time_before(jiffies, prev_jiffy + HZ))
return;
prev_jiffy = jiffies;
printk(KERN_ERR "Debug: sleeping function called from illegal"
printk(KERN_ERR "Debug: sleeping function called from invalid"
" context at %s:%d\n", file, line);
dump_stack();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment