Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4733399rwl; Mon, 3 Apr 2023 08:54:41 -0700 (PDT) X-Google-Smtp-Source: AKy350ZSwJTdQJK7pI3pu0AMDMK9fK4vhyVuncqRirgzl9/IRNSnzyAyR6+7AhmV7wVZ+Qhvl3An X-Received: by 2002:a17:907:6e22:b0:930:3916:df1d with SMTP id sd34-20020a1709076e2200b009303916df1dmr48629230ejc.0.1680537281389; Mon, 03 Apr 2023 08:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680537281; cv=none; d=google.com; s=arc-20160816; b=CSyk4RZZruI1b/GCJIPJnsw3dTTamd5Nqb8J/4wPgD6W4r3oRW62lsKB8gtqaAsKz4 aIIomqtZ9wNYalnaTdMEy70SXVVmZCc2MxkGLFUOxErg89vuHhZMSLzrIaFMGyBlX7mQ Tz7K7rY1Q0cqbunVUr1P5ZF8/4+7rJK60jIZFXoQKrpFcNmKucLkYKd0ZoB6UfTs1wl+ 325ba8wVNlOhwSIVAtI74mWYel9pt7Hem99wctPJnbuF6KS+OzarA85SMPo6Cb1iiwEV JDLlYpGckFJB3Pmsj8kTmMA/TSBa8xOhQQXDtFnpP/A7S//R5SupkpWZqr4o2V91XfM/ s9iw== 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:dkim-signature; bh=eNXkOXAXwaPmGoeSHTAklH1hn5lmK/UEIQKMqcOmDFI=; b=Ig0fTAYd5BTXOmyHqZOUZa8LCM7uJkiYdWuSBx2TNYYZKcJQ2Uwpz5JES/Wtw3PKF3 +5nwRW5Y1/twJ9xTbZi6vrEf4eYO+fbxSOScwcXMgDjmTyBnaJeOlk0zzD0xxBHLj44d Hs/dZMaPYKdJyol31FlN+t+JTwT92zhmmv7F+UqydOUr69QsoDyYfoUTTUgiHEDFx20L Go1Ebc++djKohuVF9mY92zhKz2qnqivwbF2RQ2LulyhmXBNRUHqMwMtYjYCEj521f83W GDXVMq7J3sC1UXiLsaNDNRn0xoA3Q8y/YMoR3OUkjoaAwcf48qPrE7UZ9oqJcQPmHMk6 ahuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DPA6CDzU; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id km26-20020a1709079a9a00b00947b1f77c17si6157601ejc.118.2023.04.03.08.54.17; Mon, 03 Apr 2023 08:54:41 -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=@kernel.org header.s=k20201202 header.b=DPA6CDzU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232782AbjDCPwo (ORCPT + 99 others); Mon, 3 Apr 2023 11:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232672AbjDCPwY (ORCPT ); Mon, 3 Apr 2023 11:52:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82AA23C07; Mon, 3 Apr 2023 08:52:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 976ED62062; Mon, 3 Apr 2023 15:51:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE39C4339B; Mon, 3 Apr 2023 15:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680537109; bh=sttDs4JUXkcG5X9tQx1Tw6YAw8ozdvjehYun78az3GI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DPA6CDzULnd9smJFkZSl5BiibMQ9jwJlrLt/Sdb9/ZHrxa8ojlMjlnX6Kz5ps/oqk iXdPd2FRdczYF56wwREIM6Opl9GQ374bRhlwsDqxQCqxTmZFeMt1+O6fkaL1/EaxLT Bc3f81t8+uEIaEDkbpXsjX/OtT16hKCsGAXNww2yCd/+q/gz3MP4rN6RTk+X2ai0BC mVQB3GgXoVIUcVnl3s0VSaPN2qCbe+GMw1g95QwywMRdg1m7flBe/7rvxXQixVTl+e zs18LnjEVayZZD5cDETFZ/LjPoLBN51EPyRC34vOnEqGhWFCcSvyW1GH5Wizxl0ZQM +aBuJjc+A89Dw== Date: Mon, 3 Apr 2023 08:51:47 -0700 From: Nathan Chancellor To: Stephen Rothwell Cc: Linux Next Mailing List , Linux Kernel Mailing List , Greg Kroah-Hartman Subject: Re: linux-next: Tree for Apr 3 Message-ID: <20230403155147.GA239124@dev-arch.thelio-3990X> References: <20230403202412.66d43f13@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403202412.66d43f13@canb.auug.org.au> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, 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 Hi Stephen (and Greg, just as an FYI): On Mon, Apr 03, 2023 at 08:24:12PM +1000, Stephen Rothwell wrote: ... > Merging driver-core/driver-core-next (43ba3d4af7a7 pktcdvd: simplify the class_pktcdvd logic) ... > Merging char-misc/char-misc-next (48a6c7bced2a cdx: add device attributes) There is a semantic conflict between these two trees: drivers/cdx/cdx.c:393:8: error: incompatible function pointer types initializing 'ssize_t (*)(const struct bus_type *, const char *, size_t)' (aka 'long (*)(const struct bus_type *, const char *, unsigned long)') with an expression of type 'ssize_t (struct bus_type *, const char *, size_t)' (aka 'long (struct bus_type *, const char *, unsigned long)') [-Wincompatible-function-pointer-types] static BUS_ATTR_WO(rescan); ^~~~~~~~~~~~~~~~~~~ include/linux/device/bus.h:129:42: note: expanded from macro 'BUS_ATTR_WO' struct bus_attribute bus_attr_##_name = __ATTR_WO(_name) ^~~~~~~~~~~~~~~~ include/linux/sysfs.h:135:11: note: expanded from macro '__ATTR_WO' .store = _name##_store, \ ^~~~~~~~~~~~~ :30:1: note: expanded from here rescan_store ^~~~~~~~~~~~ 1 error generated. 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)? If there is a better or more appropriate way to report this, please let me know. Cheers, Nathan 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[] = { }; ATTRIBUTE_GROUPS(cdx_dev); -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;