Commit 30d14944 authored by Linus Torvalds's avatar Linus Torvalds

Annotate kernel/printk.c with user pointer annotations.

parent 0f95ec58
......@@ -155,7 +155,7 @@ __setup("console=", console_setup);
* 8 -- Set level of messages printed to console
* 9 -- Return number of unread characters in the log buffer
*/
int do_syslog(int type, char * buf, int len)
int do_syslog(int type, char __user * buf, int len)
{
unsigned long i, j, limit, count;
int do_clear = 0;
......@@ -276,7 +276,7 @@ int do_syslog(int type, char * buf, int len)
return error;
}
asmlinkage long sys_syslog(int type, char * buf, int len)
asmlinkage long sys_syslog(int type, char __user * buf, int len)
{
return do_syslog(type, buf, len);
}
......
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