Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1188184rdb; Wed, 6 Dec 2023 10:54:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAa0iqVjoIXcRIPFtYXpF1kZv2I1ffDmJBAaInhs8KOGLnIBpKh2bJdfQOxJXUSdKhdZXR X-Received: by 2002:ac8:5948:0:b0:423:a4f6:9a8e with SMTP id 8-20020ac85948000000b00423a4f69a8emr1409400qtz.24.1701888855115; Wed, 06 Dec 2023 10:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701888855; cv=none; d=google.com; s=arc-20160816; b=MbChDoltRECAd7NoZ999JppldqKEohbaaKc4U/a81aGezoK6IROTajfYD67jaadWXG FlbIMXFcCYcamEWgHN6KEUXXAz7eqquitUbZxuQtp2NvRUjp3asFUjLGwHk3mRnnR5qC wnwJ92AJDoc3TucR+Ee3rkEQJw7U5Iq3lsVfPnjNoxrG5OT6mlng2dHdgdh2p2j0syub YMxarmX6ij1cWOEJO6nuCU03MmNqwifCzPX80romHSPUydU4s94Cy01IcOlJuRCtn1IU xhLKOE7db5/PWBZYwBvHQDRpRx9hvMpvYbUGceNmuM50PBudhk3ijKUHnK75w6+BuR10 8TSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WaGJkRhDDbvlJqhNmR/h6T9pdrSKfnQkpJsdLOBdscU=; fh=zrweKZEnsD4ZlKyWcG2Asjl4VG+r9TPFh9V5eLh6BPY=; b=k8iziKAyWxj+SyudRILF8HVIjV+pa/ZzvusxUIJyFiKFq9ehVSWmeYtAh94cE+KvqV ThAsWgzaZwjVMmAiALu97uCgwpUt3yrBBarsX8FjvUEBZ7oPGmLmWfR7N0xICKFLRcyI pTyE66Mwhwo2EqO7OB9cMJj7dM1UbWcvbJmgvjCDiKV41pIIcJD0YCTE10fQYgCX6u0G 3ury7HtERCFkGSPhdmrQFKKGNthZnXB6xPKsqP5PZubvFKt28KPqBncJ7ERqJ5DG9/PA Zk0Tco32BGIM0n8hcxea8E/JqDsKMF8xd41Mf7mD8TmgSa5l2evD5BX0+g062va5SFC7 VLUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=ZHLkTAHD; spf=pass (google.com: domain of linux-nfs+bounces-365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-365-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ca7-20020a05622a1f0700b004258679f92fsi509228qtb.701.2023.12.06.10.54.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 10:54:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=ZHLkTAHD; spf=pass (google.com: domain of linux-nfs+bounces-365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-365-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AD5481C20932 for ; Wed, 6 Dec 2023 18:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F36246540; Wed, 6 Dec 2023 18:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b="ZHLkTAHD" X-Original-To: linux-nfs@vger.kernel.org X-Greylist: delayed 60 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 06 Dec 2023 10:54:08 PST Received: from smtpdh19-1.aruba.it (smtpdh19-1.aruba.it [62.149.155.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888279A for ; Wed, 6 Dec 2023 10:54:08 -0800 (PST) Received: from [192.168.50.221] ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id Ax15rHu1J0L7VAx15r2j2h; Wed, 06 Dec 2023 19:53:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1701888784; bh=eEjsohy0jwllNE3iL3sT0+7x8y6IToFvYWym++3J9TU=; h=Date:MIME-Version:Subject:To:From:Content-Type; b=ZHLkTAHD1/J1spNNV71qu2bXPb8IkHtz6pV8z1eG378XCx9SdqMRu9SeJutwcU1Fw xJBQxHJF3VSXD+IdzNiN5tvAVunY/3NLxdVPpCjq64gHOv8HQuOkN5IlH9gX/gGyei pxwpihl+zKdSRN74Kz+ctS2DurNiFhZllClt1m+XpQHah0xYa1DVeZN3jbNbbkzE4F ovvJ2AkuLFMDCQ+YIM84eCTtWf2o2ctoLz1wiz8KuYzPrrEA+qxczd9z0hRFdHMWe0 XNoORG7LtOIMKzJHHZzjqm7hWXDAFvoFMtnhA9O/Po/4kXzUj50yyOc+f80Ib0fQ+b pf9oVbQABGt0w== Message-ID: Date: Wed, 6 Dec 2023 19:53:03 +0100 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] support/backend_sqlite.c: Add missing Content-Language: en-US To: Petr Vorel , linux-nfs@vger.kernel.org Cc: Petr Vorel , Steve Dickson References: <20231205223543.31443-1-pvorel@suse.cz> <20231205223543.31443-2-pvorel@suse.cz> From: Giulio Benetti In-Reply-To: <20231205223543.31443-2-pvorel@suse.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfJR5VoN5W1TwbplXHIgpZrHOR4kCTl+bZSVIFCiQKRRnM9GTfDnwpFN40E9dHIUgJTy3BywsuK3tIdF+VHm2DJrVFjcAI05nNA62VInEfkcHr69JI25z Rwh4sTii4GVLJGYu4TQzWNeuRo/SpD9iffZG8ykni2WTXIkvvsIgUdk85WU2ZBSlTR2pyZyE7RpHHsDvNERgDE01AclOgH/VY0PmMKvgd+2bT3EgAuZZtjqK omESHD+BwFd1FLfbxIrP4tOmS/DwmGotrExT91iQvIP9i+vBFxEJOY/4dLTTBSHZxgpccbAAKNmkO0QxN0L5vg== Hi Petr, On 05/12/23 23:35, Petr Vorel wrote: > From: Petr Vorel > > This fixes build on systems which actually needs getrandom() > (to get SYS_getrandom). > > Fixes: f92fd6ca ("support/backend_sqlite.c: Add getrandom() fallback") > Fixes: http://autobuild.buildroot.net/results/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/ > Reported-by: Giulio Benetti > Signed-off-by: Petr Vorel thank you for fixing. I've tested this and the other patch with Buildroot's test-pkg and built fine for many toolchain/arch/libc combinations. Reviewed-by: Giulio Benetti Best regards -- Giulio Benetti CEO&CTO@Benetti Engineering sas > --- > Changes v1->v2: > * New commit > > I'm sorry for these errors. > > support/reexport/backend_sqlite.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/reexport/backend_sqlite.c b/support/reexport/backend_sqlite.c > index 0eb5ea37..54dfe447 100644 > --- a/support/reexport/backend_sqlite.c > +++ b/support/reexport/backend_sqlite.c > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > #include > > #ifdef HAVE_GETRANDOM