Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15582069rwb; Mon, 28 Nov 2022 13:26:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf4mFQRn906u23aTwf/75TSnIoW+6eiaaboSSVpk72thLs9uaUVTxyWF9F79l4X0lDmdoR8T X-Received: by 2002:a17:90b:4109:b0:219:f99:2809 with SMTP id io9-20020a17090b410900b002190f992809mr17997930pjb.36.1669670791129; Mon, 28 Nov 2022 13:26:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669670791; cv=none; d=google.com; s=arc-20160816; b=BIiVUNv8nPcOKHbfNJsNWT0jsygPEfh/3QWxGyl+AzrfCvEVupwI3C7ZQDRgtV/p/5 USr/eikHJYTg60w+q/D0I955YlDz18SU3bYnwiXUPJewQcSc0rieKNLc9FGUQauHwXGg ZYMTIjabW5Pp7BXf6Qwht+WlHaqxwHFysoR6fmcsHpanM0NS/xfapT4BCgkAGYVdWTVX Xi+TZp3OfaZGMsCbzWC0cXKz9DRxXE8Ki0tztRm2yvRV/Pp/AJ9QuxLn1gN/i4104hn+ j+NwONERKZFcQqZT2WvMLxpLbA+vgu8+pu1y8JizV0M9lhGbMLpsNH6g3VN0sbNvUNWO sA8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tdv3VZ/aswB5hl1uH0uYiexGqoeWOaJJUoj8aDz03r4=; b=vb5Ebp0U+iQOQaZWeliu0+coTfJL+Lr6lfyKRgt9veP2Rw1KcN7OWYA1FE10mGQmmv MSDn2vYQ4bWTTp+xWSiLAagwil5KTbafxMs4wC+4i4vNm3v0jdUTa6N5YwFBtj9f+57G jk//6W46DUs0TdLyg6qt+0xq8UgAalCjZ427F4zAbKPPjBfcWBJ7wdpLnBH06e2K4QCx DDNQeJsQSf9DvYKJkdWVJ0gYQY++SfJ3cxhEIwBoAk5+rk8v8kZWzTOiyFO+lEBujTiJ IvNzz5ALfv/gzg1uRPj8Ehvk7+wc0ngFidFSRWEsdJhY9xXEhyAZXtd5dmrg30DK0z6j 2bsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=hWbveoYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020a170902c94f00b00172f6726d91si14659650pla.565.2022.11.28.13.26.20; Mon, 28 Nov 2022 13:26:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=hWbveoYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234474AbiK1VMf (ORCPT + 84 others); Mon, 28 Nov 2022 16:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234469AbiK1VMV (ORCPT ); Mon, 28 Nov 2022 16:12:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32C5B5FC2 for ; Mon, 28 Nov 2022 13:12:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DA506B8101D for ; Mon, 28 Nov 2022 21:12:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2318EC433D6 for ; Mon, 28 Nov 2022 21:12:18 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="hWbveoYU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1669669936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Tdv3VZ/aswB5hl1uH0uYiexGqoeWOaJJUoj8aDz03r4=; b=hWbveoYUKpUHeLE2siUXAW3tCaHMXmvWlvMszGCGRfdvBvFcoMZEl9WDo18ZVzqgbkUbfj S8a6iDbj/RaRG2LNwDIbZwuyGgQagaqQB4vuPRApH52wqWWUcgR8uuxiipfnUnE9z+1gBW RbJxK/rRePvayh8A9Yaf9uYHax8uCsA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 49f8298d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 28 Nov 2022 21:12:16 +0000 (UTC) Received: by mail-vs1-f53.google.com with SMTP id i11so10936554vsr.7 for ; Mon, 28 Nov 2022 13:12:16 -0800 (PST) X-Gm-Message-State: ANoB5pkWLWXS/rKQgXrR9QWxMfPMlXLXbYW6D/eXwAud/f88pUff2nzH dt4Xk0p28JFpP12r3WeVxMqvVASSFafMq1Lc+Vg= X-Received: by 2002:a67:1d41:0:b0:3aa:3310:174 with SMTP id d62-20020a671d41000000b003aa33100174mr20125207vsd.70.1669669935573; Mon, 28 Nov 2022 13:12:15 -0800 (PST) MIME-Version: 1.0 References: <202211290400.IuVDsFIm-lkp@intel.com> <6358eb8f-a3ef-40ef-9d3a-842d9ff34709@app.fastmail.com> In-Reply-To: <6358eb8f-a3ef-40ef-9d3a-842d9ff34709@app.fastmail.com> From: "Jason A. Donenfeld" Date: Mon, 28 Nov 2022 22:12:04 +0100 X-Gmail-Original-Message-ID: Message-ID: 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'? To: Arnd Bergmann Cc: LKML , kernel test robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Mon, Nov 28, 2022 at 10:11 PM Arnd Bergmann 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