mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[PARISC] Add __user annotation to eisa_eeprom.c
Annotate eisa_eeprom_read() with __user. Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
1 parent
04d35d7324
commit
45dbe9147d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user