Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6871900rwb; Tue, 22 Nov 2022 21:34:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yVB2gxjy02HPVfGlerdiVeaI2Snh1SzluAknfv1hyXS7fGIXljbDaT1N/ewnNyP1n/nh2 X-Received: by 2002:aa7:cad5:0:b0:461:948e:55db with SMTP id l21-20020aa7cad5000000b00461948e55dbmr24349761edt.131.1669181671919; Tue, 22 Nov 2022 21:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669181671; cv=none; d=google.com; s=arc-20160816; b=u0UpWNhy8QWRViGDBdM9lrYChbWq/r3903I0qHbB5MHmRmvsLPq+nS1iwTko7jKonm HQ7rIcA0WItdGkJx85rSb7ps2PtgfYsJMZ9HSB8iZf1c0SOC9ZBBBsUawqXWyAwiw9D1 A9LFSTDwMl+4s7iQJQOQNPe3Al0LnRLH1QQPYlKTYVPXujbp7442GRm29xSCixlP6Qjl erUdRraZeALgtzFydQhbZbHcMosxj665w+Q8ExWiDfja5mX5Zsp0dX0XJcibBDGVTKdr QxdflocDJfmeC6yDlQTFOJneDWpJPHIgVDgJaeR+cI5lAPJvdk474F/VqJkC6IV/LkT0 AxxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=P8mENoA61c0gWpjTpO5OaWphgwE90TW4qhvmhkFoqzQ=; b=PZhg3rBNGFLJBvv+Kc3XD+oZVqvUy9YVcuXrSDyLr/My85R3l3NWG/4cnCFKl8Vu5V uXUcsd58hX2ol7tFvebOycohi6Y/IXri6BVvcuJnorTmPOhvJkPxb1XdsA+fTgYv2OcV v9LbSxsh0d9jbCk55JKWRwXKBT9r+lXqtfFF+Hs0Qk55Fqg0apqCoHDtRpA9671s9801 FiRYHUsWmseS6lQ9o/5OK3KIeS6rky93JDmEoWkl7THuWhiJX6oyv92rm17bhQP7uIui k6n3OrWf7BfnlqiufdzJy3suSzNMFCYyg7AiZIyCfbvt6AHauICNqLgbQvqA0qcy6Yeg Jbtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=NXx0qjtH; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v15-20020a17090606cf00b0078dcdb1c9dfsi7555718ejb.553.2022.11.22.21.34.10; Tue, 22 Nov 2022 21:34:31 -0800 (PST) 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=@canb.auug.org.au header.s=201702 header.b=NXx0qjtH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbiKWFUs (ORCPT + 90 others); Wed, 23 Nov 2022 00:20:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235748AbiKWFUr (ORCPT ); Wed, 23 Nov 2022 00:20:47 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1321ECCC6; Tue, 22 Nov 2022 21:20:45 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NH8bW43SMz4wgr; Wed, 23 Nov 2022 16:20:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1669180840; bh=P8mENoA61c0gWpjTpO5OaWphgwE90TW4qhvmhkFoqzQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NXx0qjtH4rEpXGVaERoT7BHKYvOo9AsUEvdr9MUj5uvb46tWLdlqc3h6nnUX/bYh1 hJcNoCbxQsO8H10LEYcrd+p9RbAhwg3DQFLPwJRGXQtEZoAwIxGkSaxslumv3E9QST TQ63shWdg3s5IaHkyCtias10VJsg8zFS28dMfTemeFksGpAIpTpaKh025Gy4e4nqTn R+iWDgipMTBd+fi9HC3Pf2zHzaHcllEm9rAdDkhZtku/GdBwrtYFuvFMnHZ/JEuR4J A6ojcmOloTOdduCeOX6x6Ad7gNoHhahHcqxCW3PVSGbvzi2TaqRho3EJRq+QVuSjy4 HmCZmRL5pc3Hg== Date: Wed, 23 Nov 2022 16:20:33 +1100 From: Stephen Rothwell To: Dave Airlie Cc: Daniel Vetter , Thomas Zimmermann , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the drm-misc tree Message-ID: <20221123162033.02910a5a@canb.auug.org.au> In-Reply-To: <20221117183214.2473e745@canb.auug.org.au> References: <20221117183214.2473e745@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/QdkUDVBl0GM8MmuvnPiUWNp"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS 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 --Sig_/QdkUDVBl0GM8MmuvnPiUWNp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 17 Nov 2022 18:32:14 +1100 Stephen Rothwell = wrote: > > After merging the drm-misc tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: >=20 > ld: drivers/video/fbdev/core/fbmon.o: in function `fb_modesetting_disable= d': > fbmon.c:(.text+0x1e4): multiple definition of `fb_modesetting_disabled'; = drivers/video/fbdev/core/fbmem.o:fbmem.c:(.text+0x1bac): first defined here > ld: drivers/video/fbdev/core/fbcmap.o: in function `fb_modesetting_disabl= ed': > fbcmap.c:(.text+0x478): multiple definition of `fb_modesetting_disabled';= drivers/video/fbdev/core/fbmem.o:fbmem.c:(.text+0x1bac): first defined here > ld: drivers/video/fbdev/core/fbsysfs.o: in function `fb_modesetting_disab= led': > fbsysfs.c:(.text+0xb64): multiple definition of `fb_modesetting_disabled'= ; drivers/video/fbdev/core/fbmem.o:fbmem.c:(.text+0x1bac): first defined he= re > ld: drivers/video/fbdev/core/modedb.o: in function `fb_modesetting_disabl= ed': > modedb.c:(.text+0x129c): multiple definition of `fb_modesetting_disabled'= ; drivers/video/fbdev/core/fbmem.o:fbmem.c:(.text+0x1bac): first defined he= re > ld: drivers/video/fbdev/core/fbcvt.o: in function `fb_modesetting_disable= d': > fbcvt.c:(.text+0x0): multiple definition of `fb_modesetting_disabled'; dr= ivers/video/fbdev/core/fbmem.o:fbmem.c:(.text+0x1bac): first defined here >=20 > Caused by commit >=20 > 0ba2fa8cbd29 ("fbdev: Add support for the nomodeset kernel parameter") >=20 > This build does not have CONFIG_VIDEO_NOMODESET set. >=20 > I applied the following patch for today. >=20 > From 63f957a050c62478ed1348c5b204bc65c68df4d7 Mon Sep 17 00:00:00 2001 > From: Stephen Rothwell > Date: Thu, 17 Nov 2022 18:19:22 +1100 > Subject: [PATCH] fix up for "fbdev: Add support for the nomodeset kernel = parameter" >=20 > Signed-off-by: Stephen Rothwell > --- > include/linux/fb.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/include/linux/fb.h b/include/linux/fb.h > index 3a822e4357b1..ea421724f733 100644 > --- a/include/linux/fb.h > +++ b/include/linux/fb.h > @@ -807,7 +807,7 @@ extern int fb_find_mode(struct fb_var_screeninfo *var, > #if defined(CONFIG_VIDEO_NOMODESET) > bool fb_modesetting_disabled(const char *drvname); > #else > -bool fb_modesetting_disabled(const char *drvname) > +static inline bool fb_modesetting_disabled(const char *drvname) > { > return false; > } > --=20 > 2.35.1 This commit went away for a couple of linux-next releases, but now has reappeared in the drm tree :-( What went wrong? I have reapplied the above patch... --=20 Cheers, Stephen Rothwell --Sig_/QdkUDVBl0GM8MmuvnPiUWNp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmN9raEACgkQAVBC80lX 0GwzsAf9FsX728ujmxJyRH1r6NH3/BtmZR7MmvHvSTVE2C+UOUjNQ/QPGgna2Wtl G2Yt6ZPTSci350K2x6ISaAjVKwsLBACSyhgHddeKWz72ZEwB63MQUjGFC/Ql5L+a M+GJASmOeExAd2i06E29dCV2XTBeV+2Iw+QhmotpsBtjjdFxoAmJv5KrJzzNtBpJ CSdqCZzCBI6ClGRTK1J2gQ4KVUaCPvMQPHMMmy+/VMKrFiH5AjwATHdFX1VhbIEA FfKwCCdarYnbW+L1tvOWogD2XEiasOnuJOvvxCOJqSUgHKTXfVbXRF74Ujo5NWGo cGptfJ//Al8NmnLeppXRHtaj23tFRw== =+ny7 -----END PGP SIGNATURE----- --Sig_/QdkUDVBl0GM8MmuvnPiUWNp--