projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d35d7
)
[PARISC] Add __user annotation to eisa_eeprom.c
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 11 Jan 2006 01:47:51 +0000
(20:47 -0500)
committer
Kyle McMartin
<kyle@duet.int.mcmartin.ca>
Wed, 11 Jan 2006 02:51:18 +0000
(21:51 -0500)
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>
drivers/parisc/eisa_eeprom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parisc/eisa_eeprom.c
b/drivers/parisc/eisa_eeprom.c
index 3a1b4826e5c16b41ba31082cc8f5fc074503833d..e13aafa70bf528d0401770c88b3bce7815f4e35f 100644
(file)
--- 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 )
}
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;