[PATCH] saa6588 __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Al Viro and committed by Linus Torvalds ae8aed03 be88ec74

+3 -3
+1 -1
drivers/media/video/rds.h
··· 31 struct rds_command { 32 unsigned int block_count; 33 int result; 34 - unsigned char *buffer; 35 struct file *instance; 36 poll_table *event_list; 37 };
··· 31 struct rds_command { 32 unsigned int block_count; 33 int result; 34 + unsigned char __user *buffer; 35 struct file *instance; 36 poll_table *event_list; 37 };
+2 -2
drivers/media/video/saa6588.c
··· 157 158 /* ---------------------------------------------------------------------- */ 159 160 - static int block_to_user_buf(struct saa6588 *s, unsigned char *user_buf) 161 { 162 int i; 163 ··· 191 { 192 unsigned long flags; 193 194 - unsigned char *buf_ptr = a->buffer; /* This is a user space buffer! */ 195 unsigned int i; 196 unsigned int rd_blocks; 197
··· 157 158 /* ---------------------------------------------------------------------- */ 159 160 + static int block_to_user_buf(struct saa6588 *s, unsigned char __user *user_buf) 161 { 162 int i; 163 ··· 191 { 192 unsigned long flags; 193 194 + unsigned char __user *buf_ptr = a->buffer; 195 unsigned int i; 196 unsigned int rd_blocks; 197