Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp248476pxb; Thu, 12 Aug 2021 15:37:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS7pzk8KbIuXea0uC+n4C92RiRvY1ODW4803wgg6owLVTJ44tgRG1Aitbi3ivVEFyqvuQG X-Received: by 2002:a17:906:24c3:: with SMTP id f3mr5740625ejb.145.1628807870847; Thu, 12 Aug 2021 15:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628807870; cv=none; d=google.com; s=arc-20160816; b=OGiI3mTs1aNdfThFLlXUelFN+ut5OeS9H9fwZzfUN2o5582jf2Iu9QqUYThzaN5KwQ 7Lj+fLm4debdazHdmjAB6z2NfIrhK1+oNqGEvJKOpMwUbh8KeRN9BtwtyHmbOK4tEZpp qU/61UvZtMXko+8lLhjQXjMURUI+QfFyuEP1suM5JjisijCjovdZcMFtZ660z8/vpsqv 691l/uYOOMUm4/QtIKiVvJaWDLTa8780w8at0WiEhYvEGhdSjRfR6gCLj26esmRQrZoY wkPwLrXT1kAt23Iz76DjizY6dK8kXtwxy7GS7JffbeHM2Ty1FG//zqKpFio6uCvgyl8Q BREw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3ZW1F160xjgvVTZH6mN2PNrOraONDIFvuUTyJLurpfM=; b=bGJkSijMfV8kUULKSfWJuzlUWeTM51r9ca2yj+dLrXUUF8elR/kXHSAYtBmeuUvm8P qB9y2WtTbBwrKN1wOkYZq6wrC/bEoAD5JroZw8D13/BLYlmONeKchnPf2xEMwhV2rUKh +11QsfrrSYHKRHZJEqFkaS7tZU5msW++OUsZcmC7ss1iDWSRb7BwoBE5DRJTBKNW8mAt bU0B3aCtfrADqZAQ3ePTjhfVFHUfPehNvK2KPOI9RRXCoED84y5CUzjdxjEdyo8sZJ4q wm7p1BbTQmDsO1RhDzQjJbBIYN1fvQouJrUVPxi/X2/fF9g+13VmMAtGlCT6zpSMpNb8 H35Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mcBwEpGR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si3700976ejy.485.2021.08.12.15.37.27; Thu, 12 Aug 2021 15:37:50 -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; dkim=pass header.i=@chromium.org header.s=google header.b=mcBwEpGR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232168AbhHLUvz (ORCPT + 99 others); Thu, 12 Aug 2021 16:51:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232697AbhHLUvx (ORCPT ); Thu, 12 Aug 2021 16:51:53 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79E63C0613D9 for ; Thu, 12 Aug 2021 13:51:27 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id i7so10294507iow.1 for ; Thu, 12 Aug 2021 13:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3ZW1F160xjgvVTZH6mN2PNrOraONDIFvuUTyJLurpfM=; b=mcBwEpGRXaT0MgQ7pqa8NiL7Eb3vyTjw2YOg+6dGn9Dme8SMPucCFOd+dRZqUifC/R d2+8wvhoNy3C2lGIE26gMla0F0ENG43CwsQYhufGzIw+yHP05VNXyeyJW2B2NF9judO4 QNjkeLLrZ65wZuclJ+lnOHSUMDMPB1yLDzu1g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3ZW1F160xjgvVTZH6mN2PNrOraONDIFvuUTyJLurpfM=; b=g5nRatXYkXYlbHl+RFLl2jWsvEl+gq3ASwx+RyrdTbMIM8SwCThpQSHbpQviklrve6 2b8CM6mBLudAwj/qFrJjkrs+Kbdj4CH+1XkEnfUxFnyYH3SPqqhv+bl2UtRhWBVGWff4 9QprsWHon3Dfr3RP51Jsj0iX9wt/zrU/00/a7j2oebjDMOZiK1p19XQbCBZYrD5nq32q 4QduNNT6e6Yu6idawA1sSTRsUM3t34AP0/7ejfelAy14H3TMyIkN/xFyfkPTd+WqlEoa b7h9DkyYbwZDJ5En+LPNm5wCiXvSfiNHK1NkWgVO0I7W9hrTIw3Lvb0lDqqIZcIsQng4 Hi7A== X-Gm-Message-State: AOAM5339PecWQw4qrr6cTPXz9gE6SCbB+yfd0VTDteEHCgRXeeZvi0m0 gyIa9GIdEHJyprGpxUNLFn1C6CXjDEPyTg== X-Received: by 2002:a6b:8f03:: with SMTP id r3mr4511306iod.31.1628801486825; Thu, 12 Aug 2021 13:51:26 -0700 (PDT) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com. [209.85.166.41]) by smtp.gmail.com with ESMTPSA id m13sm2077518ilh.43.2021.08.12.13.51.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Aug 2021 13:51:25 -0700 (PDT) Received: by mail-io1-f41.google.com with SMTP id n17so8723719ioc.7 for ; Thu, 12 Aug 2021 13:51:25 -0700 (PDT) X-Received: by 2002:a05:6602:713:: with SMTP id f19mr4618750iox.140.1628801484808; Thu, 12 Aug 2021 13:51:24 -0700 (PDT) MIME-Version: 1.0 References: <20210723150944.528c10af@canb.auug.org.au> <20210723053418.fizdbfnu4if2hs5x@pengutronix.de> In-Reply-To: From: Doug Anderson Date: Thu, 12 Aug 2021 13:51:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: linux-next: build failure after merge of the driver-core tree To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Stephen Rothwell , Greg KH , Dave Airlie , DRI , Greg Kroah-Hartman , Linux Kernel Mailing List , Linux Next Mailing List , Geert Uytterhoeven Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Aug 10, 2021 at 5:13 AM Geert Uytterhoeven w= rote: > > On Fri, Jul 23, 2021 at 7:35 AM Uwe Kleine-K=C3=B6nig > wrote: > > On Fri, Jul 23, 2021 at 03:09:44PM +1000, Stephen Rothwell wrote: > > > After merging the driver-core tree, today's linux-next build (arm > > > multi_v7_defconfig) failed like this: > > > > > > drivers/gpu/drm/drm_dp_aux_bus.c:106:13: error: initialization of 'vo= id (*)(struct device *)' from incompatible pointer type 'int (*)(struct dev= ice *)' [-Werror=3Dincompatible-pointer-types] > > > 106 | .remove =3D dp_aux_ep_remove, > > > | ^~~~~~~~~~~~~~~~ > > > drivers/gpu/drm/drm_dp_aux_bus.c:106:13: note: (near initialization f= or 'dp_aux_bus_type.remove') > > > > > > Caused by commit > > > > > > aeb33699fc2c ("drm: Introduce the DP AUX bus") > > > > > > from the drm tree interacting with commit > > > > > > fc7a6209d571 ("bus: Make remove callback return void") > > > > > > from the driver-core tree. > > > > > > I applied the following merge fix patch. > > > > > > From: Stephen Rothwell > > > Date: Fri, 23 Jul 2021 14:58:25 +1000 > > > Subject: [PATCH] fix for "drm: Introduce the DP AUX bus" > > > > > > interaction with "bus: Make remove callback return void" > > > > > > Signed-off-by: Stephen Rothwell > > > --- > > > drivers/gpu/drm/drm_dp_aux_bus.c | 5 +---- > > > 1 file changed, 1 insertion(+), 4 deletions(-) > > > > > > diff --git a/drivers/gpu/drm/drm_dp_aux_bus.c b/drivers/gpu/drm/drm_d= p_aux_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->d= river); > > > 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-cor= e.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. > > +1. I looked at trying to do this but I think it's beyond the scope of privileges that I'm granted as a drm_misc committer (not a drm_misc maintainer). Adding the official maintainers [1]. Maarten/Maxime/Thomas would this be something you could do? [1] https://drm.pages.freedesktop.org/maintainer-tools/repositories.html -Doug