From patchwork Thu May 18 22:03:13 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: 96075 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp832023vqo; Thu, 18 May 2023 15:15:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dMAjIxVflx/oNtB4D+pdoIG2B9eP+3npkZpDQmakpN/486Q8hDLh/Ryqvvn2YSB7KSlLr X-Received: by 2002:a05:6a20:8f0b:b0:106:a0d1:a0c8 with SMTP id b11-20020a056a208f0b00b00106a0d1a0c8mr888161pzk.0.1684448126118; Thu, 18 May 2023 15:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684448126; cv=none; d=google.com; s=arc-20160816; b=xwQObipWUIAO8CinXXOrH+/rkZoFNLLXn6Wdih6oDS45DNhQXVNiFRPx20rXnfjW5x E4DPTMJ5RfqwdCHDB2G84FLHmqzUCYZFOf0nIqPPKr3F+AwQdEgIIHw55peAJol0+Zer Lnj/4SWwwsp2Q2vac7w2sL+H+4IkAoiqTQ4O0E8c6obvMmV7S0zgkgQC1p0acmNf3qDw 1s9ssxWXpIvzGpx/Uig30s5PP5/NuDKM7s/qDQ8s/DoPY9NpL40atlmfKp4gICl2XKWY dmr/f1oGD954Qjj07REE0nM9P3iyheQKf5j5QWC2fAuFEs/MmHWqxhU9OmnPsbxBRmf7 DVrw== 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=9YXCgzPfesW8kVzbeuSgiq5SZvZkyR4MZFm52hZyS50=; b=Lgo1U+dTMh1WhN9xhK+8mjaF1c+5tW06l9GJyCGILO3QMCa693zVE37tQtjmM6xWZX JLIJc8BTyR86AGKSsP03hBLdgIf+Yf1AyUvFbMhSGm681yMP5jwyncfrmg1+YwIltNjy JNvBeYyzFOXtM/ED31Hbhb478itV/3jxzr/u/p+ALM1l3Y/Vt6emwjGD0IEOiiuMQwd+ UII1AMg5+Fr/iS9gI7LFWdXLGq32hq1bxbsBUMH6DO6DjS/VUC0swtq1wz4QPrSmFnPb rRPKrBVuo/0iiY7aUynKxVC+LQ80ilfB/bJFl3XNAaSljl4gI1oBtZRP8jZyrmUsm1iz P+LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=H2IKOO5i; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=VwyqYk8A; 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 j184-20020a636ec1000000b0051ae6c4084dsi2357156pgc.512.2023.05.18.15.15.11; Thu, 18 May 2023 15:15:26 -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=H2IKOO5i; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=VwyqYk8A; 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 S230395AbjERWD2 (ORCPT + 99 others); Thu, 18 May 2023 18:03:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbjERWDS (ORCPT ); Thu, 18 May 2023 18:03:18 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52700E7; Thu, 18 May 2023 15:03:17 -0700 (PDT) Date: Thu, 18 May 2023 22:03:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447393; 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=9YXCgzPfesW8kVzbeuSgiq5SZvZkyR4MZFm52hZyS50=; b=H2IKOO5ivZ3oYApvJO9DDn8H1H7B42pbMMlKZ+WbEYA3GSCUW/5/U/PVsKIJ5Gix0AxWX7 fI225vXqiJeFjy69jqEZQykAtVTpr7DrXXKUN/2EH83we4lDMhjbrL4+PVE3NbH9AfX2Ca wL/iRXKonDHwgpnqYU1IIBMMF/BH5iHkhlnbtjSvCdYIqxcCshLAsQKKa2iUp/aHoljMdj ZaVWSXq6IRJv7ik+1kAdCtHcGqr7wB1fKE9cIpUJ0qRNfPtRMO0JBvjqdv7zL1eWf42E4d KJ2xBEFrKe6v0USk+3NihM7BPHDDA9Q9IkjY+YZyHwbbzT5IleB8tIGTpoaNZQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447393; 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=9YXCgzPfesW8kVzbeuSgiq5SZvZkyR4MZFm52hZyS50=; b=VwyqYk8AaOgsbSSe4aSvkos3m6Kdr5THYnPem6RPwjAM3WivQ85+QTMGEwDOBFrQgR5hCX ScXBKVcqdIB2iUCg== 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/fbdev: Include asm/fb.h as needed Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739322.404.13800373768683363970.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?1766271878552721023?= X-GMAIL-MSGID: =?utf-8?q?1766271878552721023?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 29bf464cb8ee1b119d23aec88cbf17f9941610ad Gitweb: https://git.kernel.org/tip/29bf464cb8ee1b119d23aec88cbf17f9941610ad Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:43 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/fbdev: Include asm/fb.h as needed fb_is_primary_device() is defined as a global function on x86, unlike the others that have an inline version. The file that defines is however needs to include the declaration to avoid a warning: arch/x86/video/fbdev.c:14:5: error: no previous prototype for 'fb_is_primary_device' [-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-15-arnd%40kernel.org --- arch/x86/video/fbdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/video/fbdev.c b/arch/x86/video/fbdev.c index 9fd2484..9e91430 100644 --- a/arch/x86/video/fbdev.c +++ b/arch/x86/video/fbdev.c @@ -10,6 +10,7 @@ #include #include #include +#include int fb_is_primary_device(struct fb_info *info) {