Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2493853rwl; Mon, 27 Mar 2023 00:34:30 -0700 (PDT) X-Google-Smtp-Source: AK7set8KUZcpJRwRGDsikAIWVJYYmiKax23qCS32U3PxdA0rfpoJW+ZCYc95o+QIIHga+b9rHHBK X-Received: by 2002:a05:6a20:4d93:b0:da:5ab7:8cf3 with SMTP id gj19-20020a056a204d9300b000da5ab78cf3mr10162550pzb.30.1679902470639; Mon, 27 Mar 2023 00:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679902470; cv=none; d=google.com; s=arc-20160816; b=pWyV1+eGxlgtbfljtTzacMvX9tITfXkecmeiGwNPabaiWBU/rHpcGV5V3CHFrp8Uk5 1MMHYnSOzZPK/CxQSQdIGCzCY+/12im9l7h3gTZYfMKU4X7MGWavjp4/IfiLaocXCchc VXAC1My4eGIM+llTxGgqut8PnTfmhxmJ2s++ZOYbs+D6kapsRt06y+lDL1iThioCDSeR 19+dcYFmTilp2ywsbbuUFFwGsbw8Q3Er078I/7EP6MPkkYf/e5u1+vvDPjA+FspiE3Hn eXZv+YaB/12fX7HeSQ9iVifj84/+8gZZCt9+Vs05MZy6ga7NTKsqLcKWz7Y3EaYgBbMH A/Gw== 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:feedback-id :dkim-signature:dkim-signature; bh=iZVKGqLoCdEPkISZF4FL4MZSJlV8JzOOF5tIRWsSX9U=; b=wHrdG1UTkKoGM/fmujkXOLxefJtchVzCYE5OU+V0CY+pTPsk8gSb98SYbVijKTy1NI Hb/r0nVDZyAXkPj+WJVSVAdUIJet8WjEQei+dfaxt76wGjsjpZeCddIqtyLmGToffNqd u0muqwW9K2xdd3B7dVBDVIaxpAp0dfSH6TAIs0D7JTxDrVBYV77KQ6f4Fz8q4kSXxBf2 dvhZ5caV++8wKuJ8eUxXYXgXM3Rwcyq2OTgO39KcD1j7eZYFLcDeVkTW3KIawiiEpnSh CRtVBE+LrOW6NGDvtjX52Mo4g1Tu5qEsV9GGhZqzwu0lUljdc8GFYuL2beD9N5mTL9xF iQOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=mPYBndhP; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gtW9GFt5; 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 y23-20020aa79437000000b005a91144267asi26073088pfo.247.2023.03.27.00.34.19; Mon, 27 Mar 2023 00:34:30 -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=@kroah.com header.s=fm2 header.b=mPYBndhP; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gtW9GFt5; 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 S232424AbjC0Hds (ORCPT + 99 others); Mon, 27 Mar 2023 03:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbjC0Hdr (ORCPT ); Mon, 27 Mar 2023 03:33:47 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BFA1DD; Mon, 27 Mar 2023 00:33:46 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 03DA95C00C4; Mon, 27 Mar 2023 03:33:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 27 Mar 2023 03:33:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1679902426; x=1679988826; bh=iZ VKGqLoCdEPkISZF4FL4MZSJlV8JzOOF5tIRWsSX9U=; b=mPYBndhPThvDuiK17z /1mXZcXux+KIFPjvXauFA676uB7NN3CUEjPTg1wNZLQB/5jezw+AlYB9qFEWsnRT DAjcgjPa+tD5imXRWNWkZYuq3oj1cW19BACQmmyjf3o6XO92VYyBottWTmTvvEue +hWY8pJtM+mr7Fy5jrS8Xv9N/1+gfYCCKS7wEgtD0d7aG/YC5RJpFhtpJ6wpp5rP vNQMSdk3I8FtQoUbCMYjRodAugGoH3o39tjR5Ph/MdDnPVRgBiFoF5UHUbxtUx7V M4cXMcUQ+fQ9kJdyqXm8xQF/njZpqusURs21zZakILMfURXxR9pcs7MYtYHzgIc2 Nxqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679902426; x=1679988826; bh=iZVKGqLoCdEPk ISZF4FL4MZSJlV8JzOOF5tIRWsSX9U=; b=gtW9GFt5DOBX+ZxLYEEySiG0QrDAj iC+zmPf1faQIdI9q0JK5s6iGJ+wJ161oIXjZnKjcQgJ2rco2GpwQKBGXTrf+ZYLk H/ZURlHtGfSP3HnOZ0tVZyIYWZw6gtACKJyRr0hZiTufcaWRO2aHIRPxjqtqODbq MGsNgptzzECi45evMU5AYw0zKSTpMogjBWJB/6dkwP+hs1XupiCD8w7TIuB3fJVI Qlh2HzhS52RCA//2T6uAjdP8f/g9NKNIsCkSZSjpWu2TyE+ORJxuzLDL6qgmJQ0Z 6B1k0i6apTwNxR27mN2QuPJ0fc8k/FDdkdRBlaYnh7TeRCYQIBDLEFfLg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehuddguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgv ghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeelud eitdehjeetffdukeeugfekgeeugfelkeeguedvtdelkeetieefueefudeggfenucffohhm rghinhepvghllhgvrhhmrghnrdhiugdrrghunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Mar 2023 03:33:45 -0400 (EDT) Date: Mon, 27 Mar 2023 09:33:42 +0200 From: Greg KH To: Stephen Rothwell Cc: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Harald Freudenberger , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the driver-core tree Message-ID: References: <20230327154655.58dd627d@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230327154655.58dd627d@canb.auug.org.au> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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 On Mon, Mar 27, 2023 at 03:46:55PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the driver-core tree, today's linux-next build > (s390-defconfig) failed like this: > > drivers/s390/crypto/ap_bus.c:1596:20: error: initialization of 'ssize_t (*)(const struct bus_type *, char *)' {aka 'long int (*)(const struct bus_type *, char *)'} from incompatible pointer type 'ssize_t (*)(struct bus_type *, char *)' {aka 'long int (*)(struct bus_type *, char *)'} [-Werror=incompatible-pointer-types] > > (reported here: http://kisskb.ellerman.id.au/kisskb/buildresult/14902509/) > > Caused by commit > > 75cff725d956 ("driver core: bus: mark the struct bus_type for sysfs callbacks as constant") > > interacting with commit > > d7b1813af6a5 ("s390/ap: introduce new AP bus sysfs attribute features") > > from the s390 tree. > > I will apply the following (currently untested) merge fix up patch from > tomorrow: > > From: Stephen Rothwell > Date: Mon, 27 Mar 2023 15:42:41 +1100 > Subject: [PATCH] fixup for "driver core: bus: mark the struct bus_type for sysfs callbacks as constant" > > interacting with "s390/ap: introduce new AP bus sysfs attribute features" > > Signed-off-by: Stephen Rothwell > --- > drivers/s390/crypto/ap_bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c > index 85bb0de15e76..8d6b9a52bf3c 100644 > --- a/drivers/s390/crypto/ap_bus.c > +++ b/drivers/s390/crypto/ap_bus.c > @@ -1570,7 +1570,7 @@ static ssize_t bindings_show(const struct bus_type *bus, char *buf) > > static BUS_ATTR_RO(bindings); > > -static ssize_t features_show(struct bus_type *bus, char *buf) > +static ssize_t features_show(const struct bus_type *bus, char *buf) Patch is correct, thank you. s390 developers, if you have a persistent tag/branch, I can suck this into the driver core tree and apply this fixup there so that you don't have to deal with any merge issues for 6.4-rc1 if you want. Or I can provide one for you if you need/want that instead. Or we can just leave it alone and deal with it during the 6.4-rc1 merge window, your choice. thanks, greg k-h