Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1095135pxv; Thu, 22 Jul 2021 22:36:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj63V3qzokB7q4j22wxgjanf8DgEMTMavxmaVneosnSWDesBaHw1a7TxrvVzTKuzZFB1Zd X-Received: by 2002:a05:6402:1d37:: with SMTP id dh23mr3546077edb.360.1627018587423; Thu, 22 Jul 2021 22:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627018587; cv=none; d=google.com; s=arc-20160816; b=RJ2zBe9pK2EiISE6cdqi2gkwnwHEfyeKFeK/Mqd33SSsorn43g++xEJuvHz0bCNKKc ZjbbLCJMI32YfadKgNUDEsSR8HXpQlc6vfGviuy4GqbHf8DbBzD0lkH1Ex9MStUEBWYY bgRg6iFNSV0CFr8pqTFpDzI/DPvm0x3Hkl9DN1IqYVmJ7dQnHsV82xLwftaY59ozvL5L 82HGC3uVgAdqglMpSD9xrGl/6+cWVIeE48SkE2EEW/E3c6Hr4GYokFfWCLKYDV8MQIiH slonXkD0z1a464anpLQcHXzHaedC84tm4NUGFUDc8q3wNuwbkqhyVjuuSJKPwFLCiilb HZIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dNuL/331/nMzukc1spTRTvmiQT13W/u9SEBiiT84EdQ=; b=tFtzwAFi7wCMWL1HvM71DTTkQD8XqM4sYf2aBxSvv/tJdVqu4O9nhm9xi+ejnn7oU6 KY5zFHuPGBR+WEU2M77fwRokOXZQv2EDWDhQcA22MwxyEjAHaDFlCbEi8HQxqO9e6SeJ uxJN/XNpf8q8uY8VT6G4sX7YWosG9G+zpRxe/YBtxLb/LlGGKSPz5WPDxK0uNf1SqxAX +luuEnmG4xPkvMo0KYaDnT24AaHXwQS+bsHzpetugCrq74ftnMx6R0uZXZHf/Y87wKCX 2lDx/EYSCGz0VdMfucqHW30XCZS1aEgS5VfD05j9lCjLs8An1eS7m4XTEuhMqjnZ5pCY duog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r19si32412444ejb.192.2021.07.22.22.36.03; Thu, 22 Jul 2021 22:36:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbhGWEyA (ORCPT + 99 others); Fri, 23 Jul 2021 00:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbhGWEx7 (ORCPT ); Fri, 23 Jul 2021 00:53:59 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 170A9C061757 for ; Thu, 22 Jul 2021 22:34:33 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6npG-0005rP-96; Fri, 23 Jul 2021 07:34:22 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6npC-0003jJ-Gc; Fri, 23 Jul 2021 07:34:18 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m6npC-00075a-Ff; Fri, 23 Jul 2021 07:34:18 +0200 Date: Fri, 23 Jul 2021 07:34:18 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Stephen Rothwell Cc: Greg KH , Dave Airlie , DRI , Greg Kroah-Hartman , Douglas Anderson , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the driver-core tree Message-ID: <20210723053418.fizdbfnu4if2hs5x@pengutronix.de> References: <20210723150944.528c10af@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wwe4bxoweyfjcqqy" Content-Disposition: inline In-Reply-To: <20210723150944.528c10af@canb.auug.org.au> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wwe4bxoweyfjcqqy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Stephen, On Fri, Jul 23, 2021 at 03:09:44PM +1000, Stephen Rothwell wrote: > Hi all, >=20 > After merging the driver-core tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: >=20 > drivers/gpu/drm/drm_dp_aux_bus.c:106:13: error: initialization of 'void (= *)(struct device *)' from incompatible pointer type 'int (*)(struct device = *)' [-Werror=3Dincompatible-pointer-types] > 106 | .remove =3D dp_aux_ep_remove, > | ^~~~~~~~~~~~~~~~ > drivers/gpu/drm/drm_dp_aux_bus.c:106:13: note: (near initialization for '= dp_aux_bus_type.remove') >=20 > Caused by commit >=20 > aeb33699fc2c ("drm: Introduce the DP AUX bus") >=20 > from the drm tree interacting with commit >=20 > fc7a6209d571 ("bus: Make remove callback return void") >=20 > from the driver-core tree. >=20 > I applied the following merge fix patch. >=20 > From: Stephen Rothwell > Date: Fri, 23 Jul 2021 14:58:25 +1000 > Subject: [PATCH] fix for "drm: Introduce the DP AUX bus" >=20 > interaction with "bus: Make remove callback return void" >=20 > Signed-off-by: Stephen Rothwell > --- > drivers/gpu/drm/drm_dp_aux_bus.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) >=20 > diff --git a/drivers/gpu/drm/drm_dp_aux_bus.c b/drivers/gpu/drm/drm_dp_au= x_bus.c > index e49a70f3691b..298ea7a49591 100644 > --- a/drivers/gpu/drm/drm_dp_aux_bus.c > +++ b/drivers/gpu/drm/drm_dp_aux_bus.c > @@ -67,9 +67,8 @@ static int dp_aux_ep_probe(struct device *dev) > * > * Calls through to the endpoint driver remove. > * > - * Return: 0 if no error or negative error code. > */ > -static int dp_aux_ep_remove(struct device *dev) > +static void dp_aux_ep_remove(struct device *dev) > { > struct dp_aux_ep_driver *aux_ep_drv =3D to_dp_aux_ep_drv(dev->driver); > struct dp_aux_ep_device *aux_ep =3D to_dp_aux_ep_dev(dev); > @@ -77,8 +76,6 @@ static int dp_aux_ep_remove(struct device *dev) > if (aux_ep_drv->remove) > aux_ep_drv->remove(aux_ep); > dev_pm_domain_detach(dev, true); > - > - return 0; > } This looks right. Greg provided a tag containing fc7a6209d571 ("bus: Make remove callback return void") at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/= bus_remove_return_void-5.15 (see https://lore.kernel.org/lkml/YPkwQwf0dUKnGA7L@kroah.com). It would be great if this could be merged into the drm tree with the above diff squashed into the merge commit. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --wwe4bxoweyfjcqqy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmD6VNcACgkQwfwUeK3K 7AlfBAf/Zy8qvQXPKZUxJSnVaxZnzyG/ohkmvclUmS6qFSFq7xB/q+AeOkPrdpEG lehUg+vcs4e4IH2aLTGJmh22cu2PV8B5JcOG7clivg6FJJhxfjUE4/9OKgXJmLub nmxhlNhDQ9P0rtn//0oXrsTh5D7WAYASV9gCdGymGmsOsX6FjwfoH5eTes0O6Xif GNsBwBOziDhup7TniikMZ7wGnMZK873J5ftporulm48c/ytDaoFHeHeQsxkHwmzX 2fHwJh6w7Biipd1wSYILy/bbkhq8wYtSbXq5Bh4vkAX4kgomgueirRozeuye9mDR pQ33bclEaAX2dCKQQmj8cKnjyA6DIw== =ach8 -----END PGP SIGNATURE----- --wwe4bxoweyfjcqqy--