Skip to content

Commit

Permalink
[PARISC] Add __user annotation to eisa_eeprom.c
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Alexey Dobriyan authored and Kyle McMartin committed Jan 11, 2006
1 parent 04d35d7 commit 45dbe91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parisc/eisa_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 45dbe91

Please sign in to comment.