diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-10 20:47:51 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-10 21:51:18 -0500 |
commit | 45dbe9147dcad2b03f9d1397353d6eed9204da02 (patch) | |
tree | 1ac34a547f12be60b7aa8ebcfcf94a468d555461 /drivers/parisc/eisa_eeprom.c | |
parent | 04d35d7324ed35983189bd396db7874a50bbea43 (diff) |
[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>
Diffstat (limited to 'drivers/parisc/eisa_eeprom.c')
-rw-r--r-- | drivers/parisc/eisa_eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/eisa_eeprom.c b/drivers/parisc/eisa_eeprom.c index 3a1b4826e5c1..e13aafa70bf5 100644 --- a/drivers/parisc/eisa_eeprom.c +++ b/drivers/parisc/eisa_eeprom.c | |||
@@ -48,7 +48,7 @@ static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin ) | |||
48 | } | 48 | } |
49 | 49 | ||
50 | static ssize_t eisa_eeprom_read(struct file * file, | 50 | static ssize_t eisa_eeprom_read(struct file * file, |
51 | char *buf, size_t count, loff_t *ppos ) | 51 | char __user *buf, size_t count, loff_t *ppos ) |
52 | { | 52 | { |
53 | unsigned char *tmp; | 53 | unsigned char *tmp; |
54 | ssize_t ret; | 54 | ssize_t ret; |