spu_run.2: SYNOPSIS: Fix prototype parameter types
PATCH 1/1 spu_run.2: SYNOPSIS: Fix prototype parameter types
The 2nd and 3rd parameters of spu_run() use 'uint32_t *'. Fix it.
......
.../linux$ grep_syscall spu_run arch/powerpc/platforms/cell/spu_syscalls.c:80:SYSCALL_DEFINE3(spu_run,int, fd, __u32 __user *, unpc, __u32 __user *, ustatus) include/linux/syscalls.h:1034:
asmlinkage long sys_spu_run(int fd, __u32 __user *unpc,
__u32 __user *ustatus);
.../linux$
--- man2/spu_run.2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
man2/spu_run.2 +1 -2
@@ -30,8 +30,7 @@ spu_run \- execute an SPU context .nf .B #include <sys/spu.h> .PP -.BI "int spu_run(int " fd ", unsigned int *" npc \ -", unsigned int *" event ");" +.BI "int spu_run(int " fd ", uint32_t *" npc ", uint32_t *" event ); .fi .PP .IR Note :
Signature · 1 line
2.30.0
Hi Alex,
Quoted 9 lines · Alejandro Colomar
The 2nd and 3rd parameters of
spu_run()use 'uint32_t*'. Fix it.......
.../linux$
grep_syscallspu_runarch/powerpc/platforms/cell/spu_syscalls.c:80:SYSCALL_DEFINE3(spu_run,int, fd, __u32 __user *, unpc, __u32 __user *, ustatus)include/linux/syscalls.h:1034:
asmlinkage long sys_spu_run(int fd,__u32__user*unpc,
Quoted 4 lines
__u32 __user *ustatus);.../linux$
Signed-off-by Alejandro Colomar <[email protected]>
Thanks! Patch applied.
Cheers,
Michael
Quoted 19 lines
--- man2/spu_run.2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)man2/spu_run.2 +1
-2@@ -30,8 +30,7 @@ spu_run \- execute an SPU context .nf .B #include <sys/spu.h> .PP -.BI "int spu_run(int " fd ", unsigned int *" npc \ -", unsigned int *" event ");" +.BI "int spu_run(int " fd ", uint32_t *" npc ", uint32_t *" event ); .fi .PP .IR Note :
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/