Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1480270pxf; Fri, 12 Mar 2021 10:25:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJywcneRuapKO3ArwmVUMgCKyVjT0BVMOV2MFQRDNGGSFux4mr8VG9KH53qDP8EWdbx71l7a X-Received: by 2002:a17:907:778d:: with SMTP id ky13mr10109694ejc.291.1615573509458; Fri, 12 Mar 2021 10:25:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615573509; cv=none; d=google.com; s=arc-20160816; b=j97s8VcBLI55c1+CVHPZ2Qqf7FIBY3xqnlC3XWjaYa8V4o5MYlA1ljsT653EJiI9VG z9XWScUKqXkNeuZ6NMHHaaBxXJH319A+55jFZAM56GFFqDwmvZRHWBr1eR71KuPeofc0 SZFfna5MmsZWGsBsJzi8nbqoOkjSaoeg2aVxItDyetE2rBTdPIOtBi/h9FQsaEZbfv/8 joN10nMCd4FO0JhVjYNFAjbxEBNdHIgdP042FxvFFwljURShYgMGuEs8dnDkwAGnB0/M Re7i79pOvHfmSxqj8d9gfiROf8SMxXqmHevcHr1EtK6Xv9pocDCITluW6yK77YVo6I/f Iohw== 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=wgjM14yOPltl5WnWWvCcjCbNag+NpXKn10h3NVR24bc=; b=QUm61hsYBehH0Y7FfLLLxTrG3ytD+2fQwoeLI6pUU9raz4lDM7X6cwlLuqFDRC7Km1 sujSNJHiZJg7JCCo3aqJVK0T22VmVhpA+Y6ZOXX8sIlt4nqK78uwLzWh01PAECNwm6Y3 euu7/ih8zuXnM/V4M7rjEfZUKXi8ZLWs7fuEH0Q/iATxUjV2fCKOmJPgNr78qfyymIqc JTBf0ke11FVtH8zfXYiTAqQf2PVHHSyE7i1fQcFDuQciL5Sh8431SEHUF3Oo2UhebW64 Oj43TLcqgvQL9ydtaDBkiacvTjGYyvPGrWZOYSGAJuE86Y4+D36mKDgSHC6F2tb4nEx9 ihcA== 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 sb25si4928506ejb.340.2021.03.12.10.24.46; Fri, 12 Mar 2021 10:25:09 -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 S233343AbhCLSX4 (ORCPT + 99 others); Fri, 12 Mar 2021 13:23:56 -0500 Received: from mga02.intel.com ([134.134.136.20]:36942 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233193AbhCLSXX (ORCPT ); Fri, 12 Mar 2021 13:23:23 -0500 IronPort-SDR: Zm4mL3lMvb+DVGOzYXJu3+LLiGOQS596fbanzN9MFN/jJc7v0U1iMkjPGF9t208eyS4FfQeHTw w3EoRjCet+mQ== X-IronPort-AV: E=McAfee;i="6000,8403,9921"; a="175999122" X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="175999122" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 10:23:23 -0800 IronPort-SDR: cUFBrBXzs7Y86AZW8ozYSduHiOlmP+2GC+HHZsmZBGHTQ0UeCY5XmuFZAXhzRETIDJYj/Ewg/5 20oWa2kADkTg== X-IronPort-AV: E=Sophos;i="5.81,244,1610438400"; d="scan'208";a="377791948" 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:22 -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 , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Subject: [PATCH 09/23] ASoC: hdac_hdmi: align function arguments Date: Fri, 12 Mar 2021 12:22:32 -0600 Message-Id: <20210312182246.5153-10-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/hdac_hdmi.c:1882:54: style:inconclusive: Function 'hdac_hdmi_jack_init' argument 2 names different: declaration 'pcm' definition 'device'. [funcArgNamesDifferent] int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, ^ sound/soc/codecs/hdac_hdmi.h:5:54: note: Function 'hdac_hdmi_jack_init' argument 2 names different: declaration 'pcm' definition 'device'. int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm, ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/hdac_hdmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/hdac_hdmi.h b/sound/soc/codecs/hdac_hdmi.h index 4fa2fc9ee893..493fa3b4ef75 100644 --- a/sound/soc/codecs/hdac_hdmi.h +++ b/sound/soc/codecs/hdac_hdmi.h @@ -2,7 +2,7 @@ #ifndef __HDAC_HDMI_H__ #define __HDAC_HDMI_H__ -int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm, +int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, struct snd_soc_jack *jack); int hdac_hdmi_jack_port_init(struct snd_soc_component *component, -- 2.25.1