Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1387874imm; Thu, 12 Jul 2018 00:38:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgperlzvZ74rSijkpt3W9S7C7jOWsKdmcW0kWuILhSUvG47gIggvg89i9dF0GjnZbYiQ21pwa X-Received: by 2002:a63:6986:: with SMTP id e128-v6mr1070981pgc.294.1531381080120; Thu, 12 Jul 2018 00:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531381080; cv=none; d=google.com; s=arc-20160816; b=AvvDeRGJUl/gJ3Hf1SFYEwE/J6JACC+mGjQPED7tOZIQGbI4yJIn7FlmkNhayJRC1Q kfAXaz2ViolaLey7EBpZdzLQ57MuPcH0uoWFbuhTjYbJvV/nZHRAjJn/kDkXDC/ejpNe 5QNw/waeM6mWtZr3UHG9h58PvwaDRlyyrdVk+8r6kby4kPMkn3pwJIJBlNO74UlZg0/n mKBn3FNn4INKnjwx8REFAhCA3Qsrlt0ffqVuFiVYiRcxlgTA2ZvAwtQsX20EIJ1hLU46 e5xGOQI3Czp6vhceBV358CqAq2/3zd6E1xulcQMASKt7cP6idaRz5oNysRRFsb0jAPnP 7zRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=0D11p2suLSIc/R3d4hfZmpNR0dOx6T1N1uUU6xDZUyY=; b=xeFyRhkbDJxUIjZro0ftHtNJGLlq1grrXucA9ZpVJVw8qIVQFNgK/N1uoKq5t3ABOa 2kZYXTg2xm8ofUI0KMxfWQXUbIquSkXl9W2JexJx8oAjioxEo/WkdMI8JRsNLVKAl9tK nDkcbdhSTwfPSXshg+0M4sYaIL0fQENJ/Hab24nQKOGT0EWbUmXNO61dhtlWVDY/DovJ oxCO1wXZajdNAjrYPo+RvFuppd7pI2fXexX7XeTgmofRG1/lrZokKY2qw+LEEOgHZP5Q 6dvpetNYtnng5VmWYDc67MSWf+R6F+Eo4M1bfAXgmIXyvVby6xMlcV4SO9lYG3q5N/hk bTPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ba7-v6si20516187plb.490.2018.07.12.00.37.44; Thu, 12 Jul 2018 00:38:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbeGLHoJ (ORCPT + 99 others); Thu, 12 Jul 2018 03:44:09 -0400 Received: from mail.bootlin.com ([62.4.15.54]:51702 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbeGLHoJ (ORCPT ); Thu, 12 Jul 2018 03:44:09 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id C06B62093E; Thu, 12 Jul 2018 09:35:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (AAubervilliers-681-1-12-56.w90-88.abo.wanadoo.fr [90.88.133.56]) by mail.bootlin.com (Postfix) with ESMTPSA id 8BADB20884; Thu, 12 Jul 2018 09:35:38 +0200 (CEST) Date: Thu, 12 Jul 2018 09:35:38 +0200 From: Maxime Ripard To: Arnd Bergmann Cc: Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v3] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m Message-ID: <20180712073538.drmn75bp6xe5cniz@flea> References: <20180711144403.1022829-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v2vvhu7azu7inmri" Content-Disposition: inline In-Reply-To: <20180711144403.1022829-1-arnd@arndb.de> User-Agent: NeoMutt/20180622 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --v2vvhu7azu7inmri Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 11, 2018 at 04:43:10PM +0200, Arnd Bergmann wrote: > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module result= s in > a link error, as we try to access a symbol from the sun8i_tcon_top.ko mod= ule: >=20 > ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun8i-drm-hdmi.ko= ] undefined! > ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-drm.ko] und= efined! >=20 > This solves the problem by adding a silent symbol for the tcon_top module, > building it as a separate module in exactly the cases that we need it, > but in a way that it is reachable by the other modules. >=20 > Fixes: 57e23de02f48 ("drm/sun4i: DW HDMI: Expand algorithm for possible c= rtcs") > Fixes: ef0cf6441fbb ("drm/sun4i: Add support for traversing graph with TC= ON TOP") > Signed-off-by: Arnd Bergmann Applied, thanks! Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --v2vvhu7azu7inmri Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAltHBMkACgkQ0rTAlCFN r3TR5g//VYb7CM4LY37INFtComYldKAjYiFTY8DqWfoHPehe03dpr0YXXOxeyaMk 9BQ99zMlHVcWZut9dnscl/B7b4RNVJCL5MoWpsJqrfk+02XjLn+wy7LWV9UIBODD y4b58KrzTt6rSNyNBUulH5CxQfcU6rM0HvuClJMGk9PWSWRn1Q3/TJ93+MWDO64E hKmRY/81738ElIeIG6UfqswFdqdee4TsrBAwfu84k/EcV3Sm8WUgwTp5MBBQB49+ 1ba0qJfjwXJRi9YzO4pcAyDw3xW1Rsu8WAhZ9gUjZw9E5eMAi+zMrE4LhN0hH6k8 MFmObHQxDd4c3R78E6LG5T+2Q6EHak0zat+1mcaJcF/TnaSNp3imBl+bn53WQ2J/ Ed5myYjleU7ZzAOK8INur9+KmPEYqEgQlBeFecpau/SJsJ6nclCJnhu9N8tobt8g mTAi/63u2Voo2NmR87kmN1o7EuXBI46yftyPRIiq1epJw5NZ/J0LQF9Yah6AlAlz LvZ8spIOpWBaXIymxajqOyG2ccchkEUXaHRvLXOSiqqvvho5UBNRfHMrdP1zgdvb DfgNuQhTGkIBbIh7lMjCapzKNzYrpya22TFvubVku0II84hdFOkNUQgeLQm2t3ev abfsolIcuB3lofEw63k9XBE/K+O8ANWxN57Gvtb77NJRtYvK18Y= =OTH+ -----END PGP SIGNATURE----- --v2vvhu7azu7inmri--