Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp467239rwe; Thu, 25 Aug 2022 03:51:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tw9UMHBBHKRx07qTTysO/o+GzK08cZT7eoqfbrDBe93fm3C0znytX9Nfe2SE8TuGLig33 X-Received: by 2002:a17:903:1d1:b0:172:e12b:71b2 with SMTP id e17-20020a17090301d100b00172e12b71b2mr3486328plh.60.1661424665645; Thu, 25 Aug 2022 03:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661424665; cv=none; d=google.com; s=arc-20160816; b=ulFokW8Gy6p66yMdwYUJ8a6nRkCjf3Du68kBovET5UzCeU0tEz+Kyi3GQ7pXqUFJcT ZhI2IqVrRGss7YJTRrSU9B24wHDhOltBaRfZKCocOHMagAGvsDSuCzduF4bW6l8fjRhO oB1AIurPZZULd8hJdgjP/Fqr0+rZGBPCiMgbgz4bN2x8gkDm1brT8HzkmEnu5GuaoUrF qMk4G6nsOkUrVK/S810qJFPcC+aCgbyE9aSrjwVwOfH3mcVC2fPcWGruWCZiHuJ89MeR JdJLV/3Gqj0StBTzxw1A4jS+xTPYn6/lFPCvOVJ8Ur09sWSx19PUWt/jRSj/Nk5PzS/z FSnA== 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=55W7cC/muEp8+DpF+sTv5PBviQMQj4l6qJblgeglKVE=; b=wCvRyKuoFi6aGWIu+riSolsxYVjCRFc8PpqPUnQRNEw28ZNqyJImT1Nr3vdsDDKB/M E1fygMhpmw19CtUVvqvFJvyDPCreOgPZhepJhSYr/E73ZJiUWFZ+YBHp3l032629yU2k txMVeD/P0E5yzXmn3QOuvPKugLv/ltExBxBOSqwC8xtvXo8Bb1Y3fxZWCOwRLSFLj4O4 mGYMQq6tODhZVKSGMhMgIfu5WbkaJvKheJRHwJswRu7jwmHNvIDUYHI8JZYwXSvnO6rP A4pvmpLdNHAvYsU494q2ciLostfGf9FRLR+qjxlEjNKC6hTAfIhG9NnxTT/bkBJM78Vc 3AFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NgBG2iwU; 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 v30-20020a63481e000000b003db8bb45f56si21127137pga.104.2022.08.25.03.50.52; Thu, 25 Aug 2022 03:51:05 -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=NgBG2iwU; 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 S239611AbiHYKMl (ORCPT + 99 others); Thu, 25 Aug 2022 06:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240685AbiHYKMR (ORCPT ); Thu, 25 Aug 2022 06:12:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85502AC251; Thu, 25 Aug 2022 03:12: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 ams.source.kernel.org (Postfix) with ESMTPS id F2BBEB8282F; Thu, 25 Aug 2022 10:12:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D83E4C433D6; Thu, 25 Aug 2022 10:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661422319; bh=51cmz70G4BeiX7nm5zNcJKbWlVHoA55PYktAZNJPetk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NgBG2iwUb/IH2sLJbyCh82WvxTE4BRhbAvVN5DBEEtDXa8X8Ze4yx0eRkW15mrrk7 I7WmMRAVA8ou0WFBUje491gw2ZSwPT7VuJa1TleI4pyftYUzjHwmOvxAyOoyRSvgU7 37ms+FyLZwMokuCDXMQ0w7T8yM6Wpt945ygiFBzoI/u1sEOKj/1XMVwmc3IryOSxzM 83+my5vHG+GT5qzApxJqUbTJ8k8GLRmWMk8/FlvKLzCn/0LuALRT+y2BLinY8U/dbk nJhU83Y9jslLFfJcMyrhjPfVxtPX+vkrarHIml3wILLdWe6mdf8pDtaRn5HusCzSDK MrckkHf1Ju5sw== Date: Thu, 25 Aug 2022 12:11:54 +0200 From: Lorenzo Pieralisi To: Thierry Reding Cc: Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of/device: Fix up of_dma_configure_id() stub Message-ID: References: <20220824153256.1437483-1-thierry.reding@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220824153256.1437483-1-thierry.reding@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, Aug 24, 2022 at 05:32:56PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Since the stub version of of_dma_configure_id() was added in commit > a081bd4af4ce ("of/device: Add input id to of_dma_configure()"), it has > not matched the signature of the full function, leading to build failure > reports when code using this function is built on !OF configurations. > > Fixes: a081bd4af4ce ("of/device: Add input id to of_dma_configure()") > Signed-off-by: Thierry Reding > --- > include/linux/of_device.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Acked-by: Lorenzo Pieralisi > diff --git a/include/linux/of_device.h b/include/linux/of_device.h > index 1d7992a02e36..1a803e4335d3 100644 > --- a/include/linux/of_device.h > +++ b/include/linux/of_device.h > @@ -101,8 +101,9 @@ static inline struct device_node *of_cpu_device_node_get(int cpu) > } > > static inline int of_dma_configure_id(struct device *dev, > - struct device_node *np, > - bool force_dma) > + struct device_node *np, > + bool force_dma, > + const u32 *id) > { > return 0; > } > -- > 2.37.2 >