[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6358eb8f-a3ef-40ef-9d3a-842d9ff34709@app.fastmail.com>
Date: Mon, 28 Nov 2022 22:10:43 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Jason A . Donenfeld" <Jason@...c4.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
"kernel test robot" <lkp@...el.com>
Subject: Re: [ammarfaizi2-block:crng/random/vdso 20/22]
include/uapi/asm-generic/unistd.h:890:34: error: 'sys_vgetrandom_alloc'
undeclared here (not in a function); did you mean 'sys_getrandom'?
On Mon, Nov 28, 2022, at 22:03, Jason A. Donenfeld wrote:
> Hi Arnd,
>
> Please see below. It would seem that I can't so easily get rid of that
> #ifdef __ARCH_HAS afterall?
...
>> | ^~~~~~~~~
>> >> include/uapi/asm-generic/unistd.h:890:34: error: 'sys_vgetrandom_alloc' undeclared here (not in a function); did you mean 'sys_getrandom'?
No, this just means that some architectures require you to have the correct
prototype for the system call in include/linux/syscalls.h, without an #ifdef.
Arnd
Powered by blists - more mailing lists