[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHmME9phWJFQvawqC7pN-2QNMeNTmakjQqi2e35EOH9=E=dsmg@mail.gmail.com>
Date: Mon, 28 Nov 2022 22:12:04 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Arnd Bergmann <arnd@...db.de>
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'?
Hi Arnd,
On Mon, Nov 28, 2022 at 10:11 PM Arnd Bergmann <arnd@...db.de> wrote:
>
> 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.
Oh okay, thanks! I'll look into that.
Jason
Powered by blists - more mailing lists