From patchwork Thu May 18 22:03:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96073 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp831143vqo; Thu, 18 May 2023 15:13:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5k4W/Wfmvp65ouemM5eGTSrOxM6mNlCAHlpZIq1MX4j6ZJK6fHjU89fD+KHfb2n55E4XhX X-Received: by 2002:a05:6a20:3d83:b0:106:dfc8:6f4e with SMTP id s3-20020a056a203d8300b00106dfc86f4emr1577699pzi.32.1684448016225; Thu, 18 May 2023 15:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684448016; cv=none; d=google.com; s=arc-20160816; b=kvHVlUpU59tiGwcAm02UT4sYWxBdHIQCvyErYHCQWXdAa6HgenEd5DweTye8/o47oN bWoSlLv8bfra6vCQhw684FseinDAh0e+xo7b3eHEGEo6yyMq9tbEHvTFca3KWWT+6usY sOvx77XJzaHOpRnFn2Jh77BKmFwvLv1kW9wWdrX7cFEcgR4hPGjQZVbNwDgTe58DOdrH 6UbnPShjXGKKjLJvAJLvPlnOVjzKdt6Q2OPpRmyupoupip9BKj8/KjBWTsxbcLwWYve+ ix0ERp0O59iQrnq/9BbAmKqE6taWIHEe4jFHGE2l1k6r+mIkvQN6mallWzVdOTaNE0W9 JBUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=CYAhi29Fuj5PqmurKfBSVbz5QmuhmN4r93D7MCVjtys=; b=nnu8J44jZgAdclGhL3gy5DaxYvpLXXYeM4rK4hvS5HTqJvH1IXVwX+R8rPoDmuht0m 2xwm3JWZg8ga/3zaREulgjG8rtXUToZHZptL/H5Xyn3i8fBbngtB+4E0ma8FUzwrOuQC 6OyJKJQICelSQZF/8mldUFA95pQsOJDAm9ys+MCzUf5KZ0W7P76qFRZgfAs8HIpcM1X/ duhlhKb5Fhp3hMxCChKGqacnyvITNkxd6fhkpk2PNGr50fqJpcd0R5o7hjsgQBctSwYz Anu1EOffHFyWuQ9nEtasATELP0qFybXiV7Ga1dTs98I4DBNoO1/TLH99qlmul8GvwADb budA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=NhpF13hx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=qkkaO31V; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020aa78f32000000b0064d2c1fb45dsi1052437pfr.154.2023.05.18.15.13.22; Thu, 18 May 2023 15:13:36 -0700 (PDT) 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=@linutronix.de header.s=2020 header.b=NhpF13hx; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=qkkaO31V; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjERWDU (ORCPT + 99 others); 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271762774741245?= X-GMAIL-MSGID: =?utf-8?q?1766271762774741245?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 3b939ba0c21115de99d8e2966eaa2c4e74733d00 Gitweb: https://git.kernel.org/tip/3b939ba0c21115de99d8e2966eaa2c4e74733d00 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=missing-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 /* * Zero Userspace