Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5176090rwl; Mon, 3 Apr 2023 15:54:42 -0700 (PDT) X-Google-Smtp-Source: AKy350b5Dpz62gH6HEOoU7lAl+HnucpTCFd8XO8j39ihRLDhEH6kS2bcCI8finoZCFfDoygjoqd7 X-Received: by 2002:a05:6a20:bfdd:b0:cc:d96c:1090 with SMTP id gs29-20020a056a20bfdd00b000ccd96c1090mr404786pzb.2.1680562482268; Mon, 03 Apr 2023 15:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680562482; cv=none; d=google.com; s=arc-20160816; b=OpBPn0P+MmjMdqKhzjg46lc8jPCWQvkMnaR4SwszLJ66aIzz/S/t3Cy6GvxItXloay /jkxcI6euMBgQBHjZK4E0P7pxvyz4KuwnJgo9YmtqvZxT7nWKhszPJJo34LztYrJieIv S73KlIY3I4UQ+Dx0LAb/bSrYRu8Bdh1W/LByreReNdA/6UanyeWQZXMnIKFsuz4cGlcD I38/P1yvd9YYlLIx8Uv49e5GczQNYi7qQsJBEsiYmCQShizwSnAAIjuVF2oBNzJqAnc+ aixIMioyx8FObeO7ymi63HXbwfmrcc16K0jSMXXMVmcTbpupXziacOMo2VV8cv5MR9mF nmLg== 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=SYaIKZ+ajoRiBsT2jMRGQlpJDQte1oTrH+VBxkS6uWc=; b=Zz2kmy+q99ZbZV6FIuRLdxfO7XtVzpP8Qb4ErnNoKGCBw2+3K9tnALDxo0oBr9ylc2 LlUtavQRNsgblEn5HEGM7ygIHYcTuLHEjRpktrq1gLMkTbDZANCAcklRSXBsRM616Gfc R1LzaVBwQxp8LRuRSX4fBZUQv4nktZW9WLHRh2tgW5sueiw24ujQIxyP8ioGNKS7jDsc aZym81HwV9woOmPler+5YHoKBddE/iLimPToKVTrPSKmTg/QZJR9UCnY8tPUXS/knli2 42JkFH3wGHR8AmjH8RdKoUOao5cQCWI3/eEsbErJkO2d3CxcYl7n2p3SsnBTspdVFMMK OXsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=ui0dmZO3; 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=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a63da11000000b005129cf03f2fsi9100673pgh.128.2023.04.03.15.54.29; Mon, 03 Apr 2023 15:54:42 -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=@canb.auug.org.au header.s=201702 header.b=ui0dmZO3; 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=NONE dis=NONE) header.from=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233563AbjDCWxQ (ORCPT + 99 others); Mon, 3 Apr 2023 18:53:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232284AbjDCWxP (ORCPT ); Mon, 3 Apr 2023 18:53:15 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA3F19A9; Mon, 3 Apr 2023 15:52:58 -0700 (PDT) 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 4Pr5l875Gbz4x4r; Tue, 4 Apr 2023 08:52:52 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1680562373; bh=SYaIKZ+ajoRiBsT2jMRGQlpJDQte1oTrH+VBxkS6uWc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ui0dmZO32c2bFn6/PIml5CJzHrk0aVQj+r4eRzHLiiXf0ujjvb6C8o6yWhG/mjgWN 62OXGWpSnJanH+WXn09UvLUL4zOhukQcmjua/8O5tXbvAUkciHchWqIXqjdg5Q+J5p h1CbiwpbQyhkALN+QQU0N9WtbTnRczCQuauR38gUKy2Oc8mWTULgxvaiDJNJIx2FRo WtV/UJg81hcte65dx1vB7crII4EQoFUunDUUC93op0qNqIJACf0P8fuYsVC38/XZhH 4MHXPDuJxR5JkwnbOU7pKJPNJ2yMWA3ZLEHjIdNEoXUwo2Eh8IVNDkiardlBm7p2nY Ged2ZqXRghtAA== Date: Tue, 4 Apr 2023 08:52:50 +1000 From: Stephen Rothwell To: Greg Kroah-Hartman Cc: Nathan Chancellor , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: Tree for Apr 3 Message-ID: <20230404085224.21843f6e@canb.auug.org.au> In-Reply-To: <2023040305-childlike-stew-4f8e@gregkh> References: <20230403202412.66d43f13@canb.auug.org.au> <20230403155147.GA239124@dev-arch.thelio-3990X> <2023040305-childlike-stew-4f8e@gregkh> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/t1Iy2OJH1p5M2l_wF3K7gWE"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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_/t1Iy2OJH1p5M2l_wF3K7gWE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Greg, On Mon, 3 Apr 2023 18:01:38 +0200 Greg Kroah-Hartman wrote: > > On Mon, Apr 03, 2023 at 08:51:47AM -0700, Nathan Chancellor wrote: > > Hi Stephen (and Greg, just as an FYI): > >=20 > > On Mon, Apr 03, 2023 at 08:24:12PM +1000, Stephen Rothwell wrote: > >=20 > > ... > > =20 > > > Merging driver-core/driver-core-next (43ba3d4af7a7 pktcdvd: simplify = the class_pktcdvd logic) =20 > >=20 > > ... > > =20 > > > Merging char-misc/char-misc-next (48a6c7bced2a cdx: add device attrib= utes) =20 > >=20 > > There is a semantic conflict between these two trees: > >=20 > > drivers/cdx/cdx.c:393:8: error: incompatible function pointer types i= nitializing 'ssize_t (*)(const struct bus_type *, const char *, size_t)' (a= ka 'long (*)(const struct bus_type *, const char *, unsigned long)') with a= n expression of type > > 'ssize_t (struct bus_type *, const char *, size_t)' (aka 'long (stru= ct bus_type *, const char *, unsigned long)') [-Wincompatible-function-poin= ter-types] > > static BUS_ATTR_WO(rescan); > > ^~~~~~~~~~~~~~~~~~~ > > include/linux/device/bus.h:129:42: note: expanded from macro 'BUS_ATT= R_WO' > > struct bus_attribute bus_attr_##_name =3D __ATTR_WO(_name) > > ^~~~~~~~~~~~~~~~ > > include/linux/sysfs.h:135:11: note: expanded from macro '__ATTR_WO' > > .store =3D _name##_store, = \ > > ^~~~~~~~~~~~~ > > :30:1: note: expanded from here > > rescan_store > > ^~~~~~~~~~~~ > > 1 error generated. > >=20 > > caused by commit 75cff725d956 ("driver core: bus: mark the struct > > bus_type for sysfs callbacks as constant") in the driver-core tree > > interacting with commit 2959ab247061 ("cdx: add the cdx bus driver") in > > the char-misc tree. The following diff fixes it for me, could it be > > applied to the merge of the char-misc tree (if I am reading the order of > > your merges correctly)? > >=20 > > If there is a better or more appropriate way to report this, please let > > me know. > >=20 > > Cheers, > > Nathan > >=20 > > diff --git a/drivers/cdx/cdx.c b/drivers/cdx/cdx.c > > index 67c32cb2c006..38511fd36325 100644 > > --- a/drivers/cdx/cdx.c > > +++ b/drivers/cdx/cdx.c > > @@ -363,7 +363,7 @@ static struct attribute *cdx_dev_attrs[] =3D { > > }; > > ATTRIBUTE_GROUPS(cdx_dev); > > =20 > > -static ssize_t rescan_store(struct bus_type *bus, > > +static ssize_t rescan_store(const struct bus_type *bus, > > const char *buf, size_t count) > > { > > struct cdx_controller *cdx; =20 >=20 >=20 > A patch was already sent for this: > https://lore.kernel.org/r/20230403140416.28183-1-nipun.gupta@amd.com I will apply that to the chat-misc tree merge from today. --=20 Cheers, Stephen Rothwell --Sig_/t1Iy2OJH1p5M2l_wF3K7gWE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmQrWMIACgkQAVBC80lX 0GzjxAgAiaKsnm1hcxS5FDhw4tg18TgFTO4lNGGIiYxYW2lRTcgRW3/KawdsH9S6 zNaBTcVV06FVnMZW4oMc6I0aTSvwUCvbkfpNQYoDLpv4TEnjGOWRbLxhZE078MYx LLnkm/nJJE+zAZJPX4ec2KKzkbKxNVmwOsZ62EJeLAXreaB0z1aeG4fW8/gyEzOM b7EnX8v4bsxSrvRsC2EHTKSswMympAJdkEQOKNOtdNUI8rF7/h7Ewb+m096MFo8B m/jqaVrEl7gKs+eJTAlH05pRwsnQSvZ09lO49qmOLsZHnaboWHIzj02gSddTumzY 3wmipIm+eaCqEkrBagRpABsw5z+Fkg== =2Awa -----END PGP SIGNATURE----- --Sig_/t1Iy2OJH1p5M2l_wF3K7gWE--