From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44DA6C433EF for ; Wed, 22 Dec 2021 15:33:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RhkG9hKSVfO+1a+vn4zFLuPmAtyPtsZl5FbcJZ+arik=; b=qakxrF98PHKdErzKsIgU+I5FrO 18adFpnRgb5x956kAedIH0cDq7/jDrISLHsI2LnTNE+30qfQWeao1xXvEr+QfAEK6XGV0t1jS9QHP 0yRarV/AL1fgOiHl9eKMo8RZerOmkSgVDkYH6MFzB1AzmgDDWOkHZMXj4/ISzGgf1YCKbtMrd28ZD 1+g5F9lkC+7YGGGKRWGH/7/OL6+6tWB20l/uqvcRzAKpW6fVF+MJ9wAnJX3VyGLmBEvNwTtMaAMu5 iILsRwqqWulcCoLj9yaf/InxmnfBpztIwtxLGonQK0/v88gDxosOy9YkW75w0Lh78HL+iE/+j0fVn 8IBiR7dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n03ad-00Akxj-BV; Wed, 22 Dec 2021 15:31:39 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n03aZ-00AkxD-RQ for linux-arm-kernel@lists.infradead.org; Wed, 22 Dec 2021 15:31:37 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id 84CD9B81B51; Wed, 22 Dec 2021 15:31:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8AC9C36AE5; Wed, 22 Dec 2021 15:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640187093; bh=8R1VPxJ5QwjV34tj5ioukTe83BRaxGqqbl3UNmqWFGA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r/2ngNYaHbEQpP1Fz90Q6XNOfqV9+2kwOlS+9XNFPTRxfOdxH75CTlSV1VZlVNI5Z kxpefZqkKzqiv0DdW9mBq3sWpkdKt11CuAWD5CUg93ciO31w+ULbFA8xCnVK7kcnc7 1pg/cfpisstVN/iDm5zP5L4Y0GerIps8CCkHpljvh6eZEJnJaX/VZUPkW7gRjdU4Fk fqVpwZfUNSmLY2SeTvdj32L9Kuxg5Rvz0E/uoCWVPd5C7/WMeXdZatcQEbzHPbORTA tJcPvyarp8dAz/Y4HcbfiAiPGxEeKEDKGNQT18IJIK09oBTwaH8GKCtf+Mj9icxe3W +Kj775ieQDVvA== Date: Wed, 22 Dec 2021 15:31:27 +0000 From: Mark Brown To: Andy Shevchenko Cc: Serge Semin , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Serge Semin , Daniel Mack , Haojian Zhuang , Robert Jarzmik Subject: Re: [PATCH v1 1/3] spi: dln2: Propagate firmware node Message-ID: References: <20211222135423.62487-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 In-Reply-To: <20211222135423.62487-1-andriy.shevchenko@linux.intel.com> X-Cookie: I've only got 12 cards. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211222_073136_049529_0EEDFCF0 X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0027875442510497913==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0027875442510497913== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ynu3iQ1U5jvIgvu1" Content-Disposition: inline --Ynu3iQ1U5jvIgvu1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 22, 2021 at 03:54:21PM +0200, Andy Shevchenko wrote: > Propagate firmware node by using a specific API call, i.e. device_set_node(). This breaks at least an x86 allmodconfig build: /mnt/kernel/drivers/spi/spi-dln2.c: In function 'dln2_spi_probe': /mnt/kernel/drivers/spi/spi-dln2.c:691:32: error: implicit declaration of function 'dev_fwnode'; did you mean 'dev_of_node'? [-Werror=implicit-function-declaration] 691 | device_set_node(&master->dev, dev_fwnode(dev)); | ^~~~~~~~~~ | dev_of_node /mnt/kernel/drivers/spi/spi-dln2.c:691:32: error: passing argument 2 of 'device_set_node' makes pointer from integer without a cast [-Werror=int-conversion] 691 | device_set_node(&master->dev, dev_fwnode(dev)); | ^~~~~~~~~~~~~~~ | | | int In file included from /mnt/kernel/include/linux/platform_device.h:13, from /mnt/kernel/drivers/spi/spi-dln2.c:10: /mnt/kernel/include/linux/device.h:854:64: note: expected 'struct fwnode_handle *' but argument is of type 'int' 854 | void device_set_node(struct device *dev, struct fwnode_handle *fwnode); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ cc1: all warnings being treated as errors --Ynu3iQ1U5jvIgvu1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmHDRM4ACgkQJNaLcl1U h9Cc/Af/d9JjkEomKALiEA6zxjzRhFaLXJ/kKKq3b/2D8I4QyCNBU76MNCA6uIGJ W9pD+LKXKLIwW6lZ+LBs0DEfBzduWI8vL1rX0EGuOaIepTt4F0oZR15UNUKSwwdY XgJzmCt+Qfq5GQe1UhBzYc+GL6ExtrFisWBJbSxzuTDdQvki4fpQdvyGmxL/sqrL NS5MQZjVOULcFxuNFJrznATQB9yxBM24KGVR9wat2AX8gDspsdSHjwJEKxBsJkww uAms0atbNg7bTAi8mmX9mkND1NV3bbYh7xonEdCHm24iexGxrSae5qtpfw8bfMbb KoGK0Z7b2DWzDADhxHVy4wS4d52wdw== =Wwd+ -----END PGP SIGNATURE----- --Ynu3iQ1U5jvIgvu1-- --===============0027875442510497913== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0027875442510497913==--