Re: [PATCH] spu_run.2: SYNOPSIS: Fix prototype parameter types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

On 2/15/21 2:15 PM, Alejandro Colomar wrote:
> 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$
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>


Thanks! Patch applied.

Cheers,

Michael


> ---
>  man2/spu_run.2 | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/man2/spu_run.2 b/man2/spu_run.2
> index fb1879759..8b2a64ebb 100644
> --- a/man2/spu_run.2
> +++ b/man2/spu_run.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 :
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux