Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3385136pxf; Mon, 29 Mar 2021 00:16:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJlw8NrT70SUe6CMzpeuMht1Qmovc/o1oPj4x6Smi9/NADb3KOFZhj0tayKRrRcc8IXrAA X-Received: by 2002:a17:906:cd05:: with SMTP id oz5mr27660666ejb.345.1617002170413; Mon, 29 Mar 2021 00:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617002170; cv=none; d=google.com; s=arc-20160816; b=j7Tw4K8Mku7HkazuopYYtcRGABmGhGmG6zD8FzHVCfUMQicnwRmUB+/9LM4Ppoqtpj udPkaP+lmIUxlfktnOzC2cZvsRRNV5TYnuikxo2zYv+0uyuSzVmxSqM2qKT34DbR9Sqx 12/IzsIPueQEWwRdxhJOCEV8MEaSfySE5oocnx8xraq7RAdkvZlVMF1LS2R9h2K9AWc7 7zv93EnUimu/yaKhRmyQCmsU71Bu1Dxd7XH3qJL5LxZTPfRzlDIJYqXDRg0VKfJ2VSAs A92jw5V9ld3xfbpPq8b//2nXDBbt2YuVarC2oHSz8cFRnXecUsiOo7BE/V5n9IuDfM28 pLTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3i61lbYtht1bCl8e/9X51r7cabit5ewoNnhghpFbgB4=; b=jNG7rUje1as6XVKNh2Jg5dwgtggnWGD/WGMLdg+ZJI0LHU1sbiQVOSt9ZVZZ7HzzB2 /E1FWXLCLRtXqy+cSAeT0q1pLWkPzkbVWxMQF/+mi/mX0rIGSzl6aqO7uDz9zdRG03Mp m0nxwITFU7KqBxTVt9YqA/iuD2VsT6x5ABSDBW4jw6NZ8p5lOwgkp2KxlSLT12QToUBf qozK7GQhiQG9RFxb7xoTaZ3Gp7RwDjKOTGYx4aSUtbBhcZ5Br9Z1Ae9vAzAUOmPfh9AA fA9N3xjdRclLJlzKsdFJG77qtaL2LcOKXn2C0TnjqErqeDtHr7PhbDz/FVGwzKXVDj5u bRZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ie1AnPs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y59si14158160ede.77.2021.03.29.00.15.47; Mon, 29 Mar 2021 00:16:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ie1AnPs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbhC2HOp (ORCPT + 99 others); Mon, 29 Mar 2021 03:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbhC2HO3 (ORCPT ); Mon, 29 Mar 2021 03:14:29 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 327F5C061574; Mon, 29 Mar 2021 00:14:29 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id r12so17787938ejr.5; Mon, 29 Mar 2021 00:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3i61lbYtht1bCl8e/9X51r7cabit5ewoNnhghpFbgB4=; b=Ie1AnPs9rGSxNFYqSvt0EusYJvzck2q7ygXAvCLx2RY2J50vtvhFP0y4uA9Q5nxvx9 PidhP6edYbGS7obwIl9nyLyLOpqEBRTOP84T05EHxQ5zg20rmUubOkc28iX6XE22aYfP 8i5kqbk49k4OcXC1flXKeeh7vBBJvuRRHapTPEG/FQ9YBUeb3NMPu0n5cfog1+GXWvqk X8vShelYAPhGXPytY5mZy9SKV8QQnPIsEcp6jhYCn9vdOJIupz/Mur/RsMO2a+wvpRii 3jYJzW2Z52GBwnPZ/hzLnF05PtxbiKoFz/iY5TucUhmEx9vuu+5Wj6GVf0YjiqPA5cSe ZT4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3i61lbYtht1bCl8e/9X51r7cabit5ewoNnhghpFbgB4=; b=EC/ayPXe5hik3a8p1obKhaPnEJxsdAu64e4YMhhQytgo1jMV/4uGDezhN0DDzX+mUZ mgz8/C1ZrSHhTa6ENyii0alCN0ycGVJOuhFUOqCsoSLRAHYqFsqXwugD9vsarInJELCW MMMxiqXq2Ofbjcf+LXQsAzJhcpgTdUggezlXteDRvsgBpg11+GoAHlxYtDjnxkjSI4wA Sdg4s2RhWrTJ4aDIcf15Qk1CpIR4ikF9ng9FHcEpJCCnRxkK2FKlLs6s8BzMLZkpsHd9 7xWuJGiTtY4I8egEel69bE2vnJ7sLlCKfR/A5rTY4u52gl0hBVZFYM59l6Yn5PRhj/38 oLOw== X-Gm-Message-State: AOAM530PPMYCtFI+P+Se5ZW649SzL0oK064FmkpwiOYtDur/R9+KX2wr P83PABgjWYN0KcjkmLTZDTM= X-Received: by 2002:a17:907:33cd:: with SMTP id zk13mr27102009ejb.224.1617002067914; Mon, 29 Mar 2021 00:14:27 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id g25sm8253594edp.95.2021.03.29.00.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 00:14:26 -0700 (PDT) Date: Mon, 29 Mar 2021 09:14:51 +0200 From: Thierry Reding To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Jonathan Hunter , Randy Dunlap , "open list:TEGRA ARCHITECTURE SUPPORT" Subject: Re: [PATCH 13/17] ASoC: tegra: tegra20_das: align function prototypes Message-ID: References: <20210326215927.936377-1-pierre-louis.bossart@linux.intel.com> <20210326215927.936377-14-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xtdBqiT13sHPbdgA" Content-Disposition: inline In-Reply-To: <20210326215927.936377-14-pierre-louis.bossart@linux.intel.com> User-Agent: Mutt/2.0.6 (98f8cb83) (2021-03-06) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xtdBqiT13sHPbdgA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2021 at 04:59:23PM -0500, Pierre-Louis Bossart wrote: > cppcheck warnings: >=20 > sound/soc/tegra/tegra20_das.c:35:40: style:inconclusive: Function > 'tegra20_das_connect_dap_to_dac' argument 1 names different: > declaration 'dap_id' definition 'dap'. [funcArgNamesDifferent] >=20 > int tegra20_das_connect_dap_to_dac(int dap, int dac) > ^ > sound/soc/tegra/tegra20_das.h:98:47: note: Function > 'tegra20_das_connect_dap_to_dac' argument 1 names different: > declaration 'dap_id' definition 'dap'. > extern int tegra20_das_connect_dap_to_dac(int dap_id, int dac_sel); > ^ > sound/soc/tegra/tegra20_das.c:35:40: note: Function > 'tegra20_das_connect_dap_to_dac' argument 1 names different: > declaration 'dap_id' definition 'dap'. > int tegra20_das_connect_dap_to_dac(int dap, int dac) > ^ > sound/soc/tegra/tegra20_das.c:35:49: style:inconclusive: Function > 'tegra20_das_connect_dap_to_dac' argument 2 names different: > declaration 'dac_sel' definition 'dac'. [funcArgNamesDifferent] > int tegra20_das_connect_dap_to_dac(int dap, int dac) > ^ > sound/soc/tegra/tegra20_das.h:98:59: note: Function > 'tegra20_das_connect_dap_to_dac' argument 2 names different: > declaration 'dac_sel' definition 'dac'. > extern int tegra20_das_connect_dap_to_dac(int dap_id, int dac_sel); > ^ > sound/soc/tegra/tegra20_das.c:35:49: note: Function 'tegra20_das_connect_= dap_to_dac' argument 2 names different: declaration 'dac_sel' definition 'd= ac'. > int tegra20_das_connect_dap_to_dac(int dap, int dac) > ^ > sound/soc/tegra/tegra20_das.c:53:40: style:inconclusive: Function > 'tegra20_das_connect_dap_to_dap' argument 1 names different: > declaration 'dap_id' definition 'dap'. [funcArgNamesDifferent] > int tegra20_das_connect_dap_to_dap(int dap, int otherdap, int master, > ^ > sound/soc/tegra/tegra20_das.h:108:47: note: Function > 'tegra20_das_connect_dap_to_dap' argument 1 names different: > declaration 'dap_id' definition 'dap'. > extern int tegra20_das_connect_dap_to_dap(int dap_id, int other_dap_sel, > ^ > sound/soc/tegra/tegra20_das.c:53:40: note: Function > 'tegra20_das_connect_dap_to_dap' argument 1 names different: > declaration 'dap_id' definition 'dap'. > int tegra20_das_connect_dap_to_dap(int dap, int otherdap, int master, > ^ > sound/soc/tegra/tegra20_das.c:53:49: style:inconclusive: Function > 'tegra20_das_connect_dap_to_dap' argument 2 names different: > declaration 'other_dap_sel' definition > 'otherdap'. [funcArgNamesDifferent] > int tegra20_das_connect_dap_to_dap(int dap, int otherdap, int master, > ^ > sound/soc/tegra/tegra20_das.h:108:59: note: Function > 'tegra20_das_connect_dap_to_dap' argument 2 names different: > declaration 'other_dap_sel' definition 'otherdap'. > extern int tegra20_das_connect_dap_to_dap(int dap_id, int other_dap_sel, > ^ > sound/soc/tegra/tegra20_das.c:53:49: note: Function > 'tegra20_das_connect_dap_to_dap' argument 2 names different: > declaration 'other_dap_sel' definition 'otherdap'. > int tegra20_das_connect_dap_to_dap(int dap, int otherdap, int master, > ^ > sound/soc/tegra/tegra20_das.c:75:40: style:inconclusive: Function > 'tegra20_das_connect_dac_to_dap' argument 1 names different: > declaration 'dac_id' definition 'dac'. [funcArgNamesDifferent] > int tegra20_das_connect_dac_to_dap(int dac, int dap) > ^ > sound/soc/tegra/tegra20_das.h:118:47: note: Function > 'tegra20_das_connect_dac_to_dap' argument 1 names different: > declaration 'dac_id' definition 'dac'. > extern int tegra20_das_connect_dac_to_dap(int dac_id, int dap_sel); > ^ > sound/soc/tegra/tegra20_das.c:75:40: note: Function > 'tegra20_das_connect_dac_to_dap' argument 1 names different: > declaration 'dac_id' definition 'dac'. > int tegra20_das_connect_dac_to_dap(int dac, int dap) > ^ > sound/soc/tegra/tegra20_das.c:75:49: style:inconclusive: Function > 'tegra20_das_connect_dac_to_dap' argument 2 names different: > declaration 'dap_sel' definition 'dap'. [funcArgNamesDifferent] > int tegra20_das_connect_dac_to_dap(int dac, int dap) > ^ > sound/soc/tegra/tegra20_das.h:118:59: note: Function > 'tegra20_das_connect_dac_to_dap' argument 2 names different: > declaration 'dap_sel' definition 'dap'. > extern int tegra20_das_connect_dac_to_dap(int dac_id, int dap_sel); > ^ > sound/soc/tegra/tegra20_das.c:75:49: note: Function > 'tegra20_das_connect_dac_to_dap' argument 2 names different: > declaration 'dap_sel' definition 'dap'. > int tegra20_das_connect_dac_to_dap(int dac, int dap) > ^ >=20 > Signed-off-by: Pierre-Louis Bossart > --- > sound/soc/tegra/tegra20_das.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Acked-by: Thierry Reding --xtdBqiT13sHPbdgA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmBhfmsACgkQ3SOs138+ s6HkchAAltA7zPKOIL5EHYwQ8SynrcJVRybPjCnp5hAYOxFdncbR4b5rvEhZ8a2S Es3+Six6tVloierFTCCftuwK9YUuso9z+8TtkV0DCciC/GFfbW1IO22hROSo2/Nv g9JQnkjrHAzKhJS+wMRXKIDhhRlQ729bf01cEkINfNPaCvYp/amv0kMyyl2ElymD yJOx4XBlmMpwgBTKoPlTNVuGaBqkMV4AWi8IlENba8HSridV7NUeP4hxFPnkC1Vk 1O8uG3KoyydD73hy81XqfyDW/pxquC6xA0fxcCpW08b2SnUcjCNMm9haVZQgkoId 3h6IugwleJZvjRcmeuswp/CS+DB/CWo6qHvwDAUAz+ipa5BpovK31VrEKg5B7Zmn TAfTPCdbDHLTRsjJ4ds5uU7QG7dT3QDPzy87+Lzv5SiIKLK1ZtZowR7wQ41rszjk k5bPswLndoqDVSK4+9r1aLoYWRdX/7WkzaNNSW+0HcipR3/EZThkAmgAjvoxGDzv XnhkDtMBoDnN476Xr2GsuzPgbfhQZHjXeZ19YkpVtg3srQpdZha2RG+5gGmmpBAx HBkJ5BeNwzyboiX/4gXXWaUEoTH54LwMxCFGLE0cIhbXCAeeKtYeThRT+VvxKsNB F2dIt8OnEynsXoIoTZj/ZvEiki/VOUi3FPIkV3MSOAomuwY5/fM= =/+6d -----END PGP SIGNATURE----- --xtdBqiT13sHPbdgA--