1
0
Fork 0

[PARISC] Add __user annotation to eisa_eeprom.c

Annotate eisa_eeprom_read() with __user.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
hifive-unleashed-5.1
Alexey Dobriyan 2006-01-10 20:47:51 -05:00 committed by Kyle McMartin
parent 04d35d7324
commit 45dbe9147d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin )
}
static ssize_t eisa_eeprom_read(struct file * file,
char *buf, size_t count, loff_t *ppos )
char __user *buf, size_t count, loff_t *ppos )
{
unsigned char *tmp;
ssize_t ret;