projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25a122
)
sparc64: fix sparc_ipc type conversion
author
Arnd Bergmann
<arnd@arndb.de>
Thu, 3 Jan 2019 16:00:49 +0000
(17:00 +0100)
committer
Arnd Bergmann
<arnd@arndb.de>
Fri, 25 Jan 2019 16:22:50 +0000
(17:22 +0100)
__kernel_timespec and timespec are currently the same type, but once
they are different, the type cast has to be changed here.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sparc/kernel/sys_sparc_64.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/sys_sparc_64.c
b/arch/sparc/kernel/sys_sparc_64.c
index 274ed0b9b3e0aa95ca8e1d7030034bd0bb1e3a79..1c079e7bab0996bc9fcef65bd0c737b06e591ac4 100644
(file)
--- a/
arch/sparc/kernel/sys_sparc_64.c
+++ b/
arch/sparc/kernel/sys_sparc_64.c
@@
-344,7
+344,7
@@
SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second
goto out;
case SEMTIMEDOP:
err = sys_semtimedop(first, ptr, (unsigned int)second,
- (const struct timespec __user *)
+ (const struct
__kernel_
timespec __user *)
(unsigned long) fifth);
goto out;
case SEMGET: