lkml.org 
[lkml]   [2023]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
From
Date
Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Thu, 13 Jul 2023 13:58:29 +0200 you wrote:
> The following error happens:
>
> In file included from vstate_exec_nolibc.c:2:
> /usr/include/riscv64-linux-gnu/sys/prctl.h:42:12: error: conflicting types for ‘prctl’; h
> ave ‘int(int, ...)’
> 42 | extern int prctl (int __option, ...) __THROW;
> | ^~~~~
> In file included from ./../../../../include/nolibc/nolibc.h:99,
> from <command-line>:
> ./../../../../include/nolibc/sys.h:892:5: note: previous definition of ‘prctl’ with type
> ‘int(int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)
> ’
> 892 | int prctl(int option, unsigned long arg2, unsigned long arg3,
> | ^~~~~
>
> [...]

Here is the summary with links:
- selftests: riscv: Fix compilation error with vstate_exec_nolibc.c
https://git.kernel.org/riscv/c/25696067202f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2023-08-03 17:11    [W:0.018 / U:2.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site