Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5642425rwb; Wed, 21 Sep 2022 10:21:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5i4xvTSeOySMh/MfS/tlwPpk9q1CXNqOE/5UnNrywe84PM/eXSbtYiZXCa1aXyBye7rm+M X-Received: by 2002:a17:907:724e:b0:780:45d1:969b with SMTP id ds14-20020a170907724e00b0078045d1969bmr22489327ejc.26.1663780891832; Wed, 21 Sep 2022 10:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663780891; cv=none; d=google.com; s=arc-20160816; b=FL4XsoBppG6JMkvii9wuv6PUU8vsSo04Dauz07uC2LGn+FtNMqjk+pK0QI00O6XDNK wIMVy5l/48IQeESbPD045NJDoklVnwVf6w6dIHO0AgwrUcyQOrvX2axvp+Fr6QX0dptA +K5YCz0VpccWmfhMYwVw2hKvxcpCC/fY0xC0dDum5ES/2PSX7XK+WijkoT7gwUY8f/8B eV/N7+SCC6rgVV/osNFwshwy6k47n10oKQtkacQNQcoX9z3pLs3QCYEMd/jwur1a5/Wt u5PbRbcbkDhuPo15kI14fzLaZojJ6Z6h3FlccJJ7RyXmj3ERpD/ib8E6x5fH5GwTZumb KWKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BeQk4L33WCH30UaRGdp0uxvKxWEvJGdAcfT878+obdM=; b=yIM3nia/YRBYE+cFfCLJ0cSYv7sxOO73aKMM9CgLePwqPvTH5RW16inci6gdO1MwZz qkX2yjUc7Aj/7C1hEuBWkSSBb9YZ0SuECHlP0NvcnzfRXcpJvZTxSwTFL+HumeLeQyfU hDC9HJ8NAdSEV3JTxzU9E6+Hz67WsnZDIG4DHF61KaUvXR/IIMQGtS8bUYtMDkKjkpA/ fElrZH8sJ0avlXzeoJs/Yo0+5zx4KY+37id26y+8eKIuXIdjAx/kdROERQlMBpf0MLbF d8CGEcov6WWMPaZdLYhe154N8gQnk+W6tLRhtWva4QLRKq/0ZIKz5csyDDGctiyGuG9r fBUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gfLFscIj; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a056402358400b0044e987f3a34si3697925edc.489.2022.09.21.10.21.04; Wed, 21 Sep 2022 10:21:31 -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=@linuxfoundation.org header.s=korg header.b=gfLFscIj; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232254AbiIUQB0 (ORCPT + 99 others); Wed, 21 Sep 2022 12:01:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232268AbiIUP6x (ORCPT ); Wed, 21 Sep 2022 11:58:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DC36A1D0A; Wed, 21 Sep 2022 08:52:40 -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 2339763153; Wed, 21 Sep 2022 15:51:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33DACC433C1; Wed, 21 Sep 2022 15:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663775479; bh=/CVu9TEVrm3dQdfEgyhnyWNcNsU//GUguQ3RL6GFzSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gfLFscIjKI+D7H0dEDHVGtD63w842g56BrKI8bD8gMaGRZV/LPQK0FZ4k9CgrdVtj ZgOoyR9DyrSKqx8B23Ps/9/dhbcBI2fRYsFcpiYyx/Qd7Gu34Hd0DPauX9lQi27WPx kZbYrwOC5j/rbcCTvWo1q2WLA1AP9L4AdYA2QBAE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thierry Reding , Frank Rowand , Lorenzo Pieralisi , Rob Herring Subject: [PATCH 5.10 20/39] of/device: Fix up of_dma_configure_id() stub Date: Wed, 21 Sep 2022 17:46:25 +0200 Message-Id: <20220921153646.403849777@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220921153645.663680057@linuxfoundation.org> References: <20220921153645.663680057@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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 From: Thierry Reding commit 40bfe7a86d84cf08ac6a8fe2f0c8bf7a43edd110 upstream. 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()") Cc: stable@vger.kernel.org Signed-off-by: Thierry Reding Reviewed-by: Frank Rowand Acked-by: Lorenzo Pieralisi Link: https://lore.kernel.org/r/20220824153256.1437483-1-thierry.reding@gmail.com Signed-off-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- include/linux/of_device.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/include/linux/of_device.h +++ b/include/linux/of_device.h @@ -113,8 +113,9 @@ static inline struct device_node *of_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; }