From nobody Mon Feb 9 02:14:36 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 D5D1AC77B73 for ; Thu, 18 May 2023 22:03:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjERWDU (ORCPT ); Thu, 18 May 2023 18:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjERWDQ (ORCPT ); Thu, 18 May 2023 18:03:16 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFAE6E7; Thu, 18 May 2023 15:03:14 -0700 (PDT) Date: Thu, 18 May 2023 22:03:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447392; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CYAhi29Fuj5PqmurKfBSVbz5QmuhmN4r93D7MCVjtys=; b=NhpF13hxcQoVDPQpP8U6/7XldFinAbXregGUiM4iPy3JLQsjLaUhA0YsxYnghWjumOtBUj 9KKdRul4UKTV2GzfqR6rtzpRQ3bN+EkMLJI+JORybpxZJy9cwy8EbBeXm2Kuh5Uo+yWT5h gOoK1hvAk3RUnJ2+ModwprXadK4/2DG21nktm7xjybIomky4fs7lCHCCGZJz7h0NtUxfxo 6szF1/ER4kUqgq0l5cBAdo0I3SpwdnyABa275a2exUWBEIGaL0Jv0/ayYXfs6eJU13TEKL HYxXwrBBW2D8Md+Hd1f2Sg2TaY7Hp1YHhZBcolYirIwQVLYIcL25kyY9WLpt3g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447392; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CYAhi29Fuj5PqmurKfBSVbz5QmuhmN4r93D7MCVjtys=; b=qkkaO31VPvA/XzaeGnkyR7LfPSoZevWZT5BVDuxYe67dKJkVCSQXmiExKoeIIz8zH/JO+i KaapD9qTDR2U9qBw== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/usercopy: Include arch_wb_cache_pmem() declaration Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739233.404.10638167784822197520.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 3b939ba0c21115de99d8e2966eaa2c4e74733d00 Gitweb: https://git.kernel.org/tip/3b939ba0c21115de99d8e2966eaa2c4e7= 4733d00 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:46 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/usercopy: Include arch_wb_cache_pmem() declaration arch_wb_cache_pmem() is declared in a global header but defined by the architecture. On x86, the implementation needs to include the header to avoid this warning: arch/x86/lib/usercopy_64.c:39:6: error: no previous prototype for 'arch_wb_= cache_pmem' [-Werror=3Dmissing-prototypes] Signed-off-by: Arnd Bergmann Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-18-arnd%40kernel.org --- arch/x86/lib/usercopy_64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/lib/usercopy_64.c b/arch/x86/lib/usercopy_64.c index 003d901..e9251b8 100644 --- a/arch/x86/lib/usercopy_64.c +++ b/arch/x86/lib/usercopy_64.c @@ -9,6 +9,7 @@ #include #include #include +#include =20 /* * Zero Userspace