Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp495246ybb; Fri, 3 Apr 2020 06:46:44 -0700 (PDT) X-Google-Smtp-Source: APiQypK0yIxjjcqSXXi2QirKKBf9rAA0Asct4XXxp9Ayh88Why6gK2/YkGLKvxGganCifrN9hMlC X-Received: by 2002:aca:482:: with SMTP id 124mr3040838oie.35.1585921604604; Fri, 03 Apr 2020 06:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585921604; cv=none; d=google.com; s=arc-20160816; b=Wqe5sepKYDLc1sjiDL1Y+7y6dzCktsx5i34zfid3Vu9dLeCW5gfvmPwr6iyMUm4c9G bMQPevyom+f2rCP0+pBKhis/u/PY21nL136jqTZ72laxkrkpv338fXC6osNnD54tjINI we/uukIoKMeyCfLp3HMU9QcVRhpYweQsB2k4a49aX0+x9nEc2rsu/mW3GiS927CMDDLb lNBrP424UpMrzv8XlHQXzDp2TEB5sTTRSEghvN7AGvBKd0EJ1opORywYaiqigANZ1qnn IDdnVyjTxABTwshowNIANxmXQOU5nLi3tMhlekMxRXKoNvEX7PUSi3yGJ64WbvG/gnns mk2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=msl3CK4yocxq+NPxeZVavwswcpbyBOYVu1q6mld4hnI=; b=aWpm8bcVdv7rwWrDqiAJ0WxDVpDUAHv5UdgMVw+PHFuONSdU51iQRXNZ51RTy0iru5 kBNSiIEEzdd7onMtIGuRYxs5TlxK2BgGX5QOfT9xOhB9VfHq+aIEG6MAMbJGhsK+VTs7 mFweiioNwWZNWGusi9PFJtSOhKV2z82McMcjZ3yLa32Gtki/J8O1wInZ8eJuyaat9uTq VTLuKk1OUyTZz1ogkemNFKRM0KqC6i7r7sk3a24PeiiejJjRGtPgsjIvIkhwlIBthYuJ f5ZMTHOHdt/4Qb2bmcArBxkosqrkF0gLUz0XKrU2BO/Q5zaGmv05lO6X/PoPpfVe8KEg HhxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nislDfeN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si3910666otp.268.2020.04.03.06.46.31; Fri, 03 Apr 2020 06:46:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nislDfeN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390895AbgDCNpu (ORCPT + 99 others); Fri, 3 Apr 2020 09:45:50 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48740 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728173AbgDCNpu (ORCPT ); Fri, 3 Apr 2020 09:45:50 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 033DjiLq038397; Fri, 3 Apr 2020 08:45:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1585921544; bh=msl3CK4yocxq+NPxeZVavwswcpbyBOYVu1q6mld4hnI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=nislDfeNmEpcTKretzQiMIbl9Sz3dyRFj3ZatP/L0WdQaLVfaoYMRoGNsOAxs0ipl bT0eFNk3ZJyg0ZZu62IipOZCGxL1D91QYWT207yVXOjJgkBe/VMChjZakjxlov6GoF /yH5h3DLO/GtviybfOEm5o+d5kS24vuI2Os7VA7E= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 033Dji6t010095 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 3 Apr 2020 08:45:44 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 3 Apr 2020 08:45:43 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 3 Apr 2020 08:45:43 -0500 Received: from [10.250.86.212] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 033DjhLE028601; Fri, 3 Apr 2020 08:45:43 -0500 Subject: Re: [PATCH] remoteproc/omap: Fix set_load call in omap_rproc_request_timer To: Nathan Chancellor , Linus Torvalds CC: Ohad Ben-Cohen , Bjorn Andersson , , , Tony Lindgren References: <20200402010812.GA751391@yoga> <20200403013134.11407-1-natechancellor@gmail.com> From: Suman Anna Message-ID: <4a2b5227-a251-bc90-7177-a75224da4623@ti.com> Date: Fri, 3 Apr 2020 08:45:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200403013134.11407-1-natechancellor@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/2/20 8:31 PM, Nathan Chancellor wrote: > When building arm allyesconfig: Thanks, Nathan. Also throws up with omap2plus_defconfig. > > drivers/remoteproc/omap_remoteproc.c:174:44: error: too many arguments > to function call, expected 2, have 3 > timer->timer_ops->set_load(timer->odt, 0, 0); > ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ > 1 error generated. > > This is due to commit 02e6d546e3bd ("clocksource/drivers/timer-ti-dm: > Enable autoreload in set_pwm") in the clockevents tree interacting with > commit e28edc571925 ("remoteproc/omap: Request a timer(s) for remoteproc > usage") from the rpmsg tree. > > This should have been fixed during the merge of the remoteproc tree > since it happened after the clockevents tree merge; however, it does not > look like my email was noticed by either maintainer and I did not pay > attention when the pull was sent since I was on CC. > > Fixes: c6570114316f ("Merge tag 'rproc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc") > Link: https://lore.kernel.org/lkml/20200327185055.GA22438@ubuntu-m2-xlarge-x86/ > Signed-off-by: Nathan Chancellor Acked-by: Suman Anna > --- > drivers/remoteproc/omap_remoteproc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c > index cdb546f7232e..6955fab0a78b 100644 > --- a/drivers/remoteproc/omap_remoteproc.c > +++ b/drivers/remoteproc/omap_remoteproc.c > @@ -171,7 +171,7 @@ static int omap_rproc_request_timer(struct device *dev, struct device_node *np, > } > > /* clean counter, remoteproc code will set the value */ > - timer->timer_ops->set_load(timer->odt, 0, 0); > + timer->timer_ops->set_load(timer->odt, 0); > > return 0; > } >