Commit ec420fed authored by Linus Torvalds's avatar Linus Torvalds

Add user pointer annotations to fs/seq_file.c

parent e91a9a7d
......@@ -43,7 +43,7 @@ int seq_open(struct file *file, struct seq_operations *op)
*
* Ready-made ->f_op->read()
*/
ssize_t seq_read(struct file *file, char *buf, size_t size, loff_t *ppos)
ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)
{
struct seq_file *m = (struct seq_file *)file->private_data;
size_t copied = 0;
......
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