Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1480580pxf; Fri, 12 Mar 2021 10:25:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6oeDGhHDbE72ZPqbC+tsU++s5YtrwfEfWrp86a7UX1qqYNYkyL1uHkGsiFreH10xKYgoH X-Received: by 2002:a17:907:788e:: with SMTP id ku14mr10234262ejc.17.1615573540726; Fri, 12 Mar 2021 10:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615573540; cv=none; d=google.com; s=arc-20160816; b=goQ6UZGyfbFqRluefkzY676+CXp7FEqsOMAyRTtPwfbBHd9o5UZq6TZ7jGQ1Bm0GM5 WS6waT7nJQ7MriXB3MLvXLvKdvtVVhe4Jg8s1M8o28JwMya6WcXF9sHx57/jas+9i64J uAAiK+KxMR+KPUg0l9lzPTnlDyq/emLfCAqNN1wbg3nozzCMCekQr9yKZ7wVoSO1yPQP DJNWFElTKbjz5noybnoWnB9QpNteYc0LDfjbwb5215kD8gFv2jFclyaZAacOhr384LQB EUjF9E96E8cyUfQHuxX2qtjpFyk3hhSjCMR38MouPgqaDDmYYDU6Fm8APDlre0xE5xZO j1Jg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=wxcWUzesscHDL5WsvAE5uLj7k9lOQmbABpsVQjwbHWY=; b=YOMOqxFDlEkR5BGMay3AKGPG0+3PLaR0XuZVUckeNZ8MBcAKJg9esfqjAzpklL+cSk 1R9JDskM3hep48+XrOdvKMBB7PgLQ9cUJ5ghj5uFeOjbhy2q0N02+9Rq0jZZ9W4vXfRr EXMofCSKTHibeN+F9oew7c09fqM6MvG5Wo4FEinjQkjKodpt1nY2cZxsvMS1qEW5x0yT MxVwLE3RKkgtFfNVbwaQ/xGs1QOzEtLYuHoMtrXViybVlDbUIOEoE3GUtxUZD0P/Fo0G /ghGNIw3PCuJRlsU32omml09mrCsEtSQ842cYvM0YiGghQSLtsJn3Qbr1rAmzyEzWP0m igrw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kk22si4706089ejc.98.2021.03.12.10.25.18; Fri, 12 Mar 2021 10:25:40 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbhCLSYF (ORCPT + 99 others); Fri, 12 Mar 2021 13:24:05 -0500 Received: from mga07.intel.com ([134.134.136.100]:4236 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232223AbhCLSXq (ORCPT ); Fri, 12 Mar 2021 13:23:46 -0500 IronPort-SDR: gzepHDWB+E/f0P2kt860rLpTFUjJdoWP3Ud1zBtnvr1dfRzkQRUqvOftib5uLGI3VLhoBj8bf6 gck4LgJkxT4w== X-IronPort-AV: E=McAfee;i="6000,8403,9921"; a="252888940" X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="252888940" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:46 -0800 IronPort-SDR: T0I19Xpl7umOcexnSGDoG5Dw8vQZRch9lFDKeZUhhxsuf9Tpm/OHz0k3+B1cu9XkBVgZU0Z6vk sxg63zRIWgIA== X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="377792045" Received: from amiteshs-mobl.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.37.30]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:45 -0800 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Lars-Peter Clausen , =?UTF-8?q?Nuno=20S=C3=A1?= , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Subject: [PATCH 17/23] ASoC: sigmadsp: align function prototype Date: Fri, 12 Mar 2021 12:22:40 -0600 Message-Id: <20210312182246.5153-18-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210312182246.5153-1-pierre-louis.bossart@linux.intel.com> References: <20210312182246.5153-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cppcheck warning: sound/soc/codecs/sigmadsp.c:736:60: style:inconclusive: Function 'sigmadsp_setup' argument 2 names different: declaration 'rate' definition 'samplerate'. [funcArgNamesDifferent] int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int samplerate) ^ sound/soc/codecs/sigmadsp.h:62:60: note: Function 'sigmadsp_setup' argument 2 names different: declaration 'rate' definition 'samplerate'. int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int rate); ^ sound/soc/codecs/sigmadsp.c:736:60: note: Function 'sigmadsp_setup' argument 2 names different: declaration 'rate' definition 'samplerate'. int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int samplerate) ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/sigmadsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/sigmadsp.h b/sound/soc/codecs/sigmadsp.h index e3c9656e006d..d63b8c366efb 100644 --- a/sound/soc/codecs/sigmadsp.h +++ b/sound/soc/codecs/sigmadsp.h @@ -59,7 +59,7 @@ struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client, int sigmadsp_attach(struct sigmadsp *sigmadsp, struct snd_soc_component *component); -int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int rate); +int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int samplerate); void sigmadsp_reset(struct sigmadsp *sigmadsp); #endif -- 2.25.1