From nobody Sat Feb 7 23:11:12 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25F7DEB64D8 for ; Fri, 16 Jun 2023 11:45:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344825AbjFPLpL (ORCPT ); Fri, 16 Jun 2023 07:45:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345220AbjFPLo5 (ORCPT ); Fri, 16 Jun 2023 07:44:57 -0400 Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC37630F9 for ; Fri, 16 Jun 2023 04:44:31 -0700 (PDT) Received: from [167.98.27.226] (helo=rainbowdash) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1qA7rx-009P8n-QE; Fri, 16 Jun 2023 12:43:58 +0100 Received: from ben by rainbowdash with local (Exim 4.96) (envelope-from ) id 1qA7ry-000fWQ-1H; Fri, 16 Jun 2023 12:43:58 +0100 From: Ben Dooks To: linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Ben Dooks Subject: [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data Date: Fri, 16 Jun 2023 12:43:57 +0100 Message-Id: <20230616114357.159601-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add include of to pull in the defition of vdso_data to remove the following sparse warning: arch/riscv/kernel/vdso.c:39:18: warning: symbol 'vdso_data' was not declare= d. Should it be static? Signed-off-by: Ben Dooks --- arch/riscv/kernel/vdso.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/kernel/vdso.c b/arch/riscv/kernel/vdso.c index 9a68e7eaae4d..2cf76218a5bd 100644 --- a/arch/riscv/kernel/vdso.c +++ b/arch/riscv/kernel/vdso.c @@ -15,6 +15,7 @@ #include #include #include +#include =20 enum vvar_pages { VVAR_DATA_PAGE_OFFSET, --=20 2.39.2