Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1786566pxf; Fri, 26 Mar 2021 15:01:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxddzwrluj4bczeccMjVZV9jNAjoV80ADD8PwiVH5Ing9sI1bzJAIVJTQ2Zx0fbmNrdUjoX X-Received: by 2002:a17:906:f203:: with SMTP id gt3mr17164770ejb.346.1616796115641; Fri, 26 Mar 2021 15:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616796115; cv=none; d=google.com; s=arc-20160816; b=FWyUuDjb+gZWCuEaR4l3VqKAiusWP2Ku6kK6CIU6ZzNxj5KMRVDcNGWYGsH6kXXoUo uB6Z5u7GaD9Gr9T598T2Dlafh+kUafFca9/qlYOIQgjnGbxn6T+eO9r0jq88Y23rO2u1 woQlrGKnp1KSDq8Q7nEWUxdyoeIaNNBo1ldi1B0W7N183TdZaJPo138MvOQDm47ZXAUk sygIMNXh5LHoedUFOQqJFPAypQ/mjhXbMUTFGjnMUJnm0WBUhyZG4nxtfn39R9x7189q 7thfvU2EQxuN0o9vV4Dgktl/6vgAjbjBF44iKRvzonmDztRFbw5QN2On0XrmL6W+ApPr Kyxw== 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=1CB3XDz76Jhtnl2+KZ01JkYPEEXOvxnZN9W0Ug4tISk=; b=wLOVlQQG2spAL2ygaQ0lq0OKNpPXaQnGEf23dh/l7V0CNsC095EQNY4Zse9JnbiLpN EA4r/+fhnRsaKx6yGu0GXywnV7I2GF6xxPwkouaW9mh6MT9GBAyhlUBCc/0TtbAa4ZQY eJwvdZpHFvsnVGtztHQUR1eUIApGdoOZtDo7Sl+ukostlPrjaEVM48JxszCPZ2d6cxie JqK4ImH++3Lan3MQXAQlRFDTDoyetRTxnfiHarnj+/CFOJCHPzU8mejHajb8qiRHUWLj z5IFN4kbDvzn44esqYAy9dPgc+8kpyjTznegAUz2gzUHgxgBC1JiHWqcnzSRphBVBwdC JJrQ== 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 j5si7540418edh.218.2021.03.26.15.01.33; Fri, 26 Mar 2021 15:01:55 -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; 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 S230482AbhCZWAl (ORCPT + 99 others); Fri, 26 Mar 2021 18:00:41 -0400 Received: from mga04.intel.com ([192.55.52.120]:61331 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbhCZWAH (ORCPT ); Fri, 26 Mar 2021 18:00:07 -0400 IronPort-SDR: PnDAFp4cyGwBfJoJOe4XzEToINEnZeGSWC6FTtIbwa9JGBdj78AtKwL3QiRtd/FxoVinROAXs6 zAeWk5uzdVTA== X-IronPort-AV: E=McAfee;i="6000,8403,9935"; a="188957089" X-IronPort-AV: E=Sophos;i="5.81,281,1610438400"; d="scan'208";a="188957089" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 15:00:07 -0700 IronPort-SDR: pN/1xZugGRK4FmXCaX5DbIjro6qYN2CO3AN2B868fvbV9d9cuop8ag3Jy2dcFwhpH6hDq9Qnzv Ftj5AihvMCDQ== X-IronPort-AV: E=Sophos;i="5.81,281,1610438400"; d="scan'208";a="416706816" Received: from zcmahone-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.255.231.203]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 15:00:06 -0700 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 , Arnaud Pouliquen , Liam Girdwood , Jaroslav Kysela , Takashi Iwai Subject: [PATCH 09/17] ASoC: sti: uniperif: align function prototypes Date: Fri, 26 Mar 2021 16:59:19 -0500 Message-Id: <20210326215927.936377-10-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210326215927.936377-1-pierre-louis.bossart@linux.intel.com> References: <20210326215927.936377-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/sti/uniperif_player.c:1049:24: style:inconclusive: Function 'uni_player_init' argument 2 names different: declaration 'uni_player' definition 'player'. [funcArgNamesDifferent] struct uniperif *player) ^ sound/soc/sti/uniperif.h:1375:24: note: Function 'uni_player_init' argument 2 names different: declaration 'uni_player' definition 'player'. struct uniperif *uni_player); ^ sound/soc/sti/uniperif_player.c:1049:24: note: Function 'uni_player_init' argument 2 names different: declaration 'uni_player' definition 'player'. struct uniperif *player) ^ sound/soc/sti/uniperif_reader.c:411:24: style:inconclusive: Function 'uni_reader_init' argument 2 names different: declaration 'uni_reader' definition 'reader'. [funcArgNamesDifferent] struct uniperif *reader) ^ sound/soc/sti/uniperif.h:1380:24: note: Function 'uni_reader_init' argument 2 names different: declaration 'uni_reader' definition 'reader'. struct uniperif *uni_reader); ^ sound/soc/sti/uniperif_reader.c:411:24: note: Function 'uni_reader_init' argument 2 names different: declaration 'uni_reader' definition 'reader'. struct uniperif *reader) ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/sti/uniperif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sti/uniperif.h b/sound/soc/sti/uniperif.h index a16adeb7c1e9..2a5de328501c 100644 --- a/sound/soc/sti/uniperif.h +++ b/sound/soc/sti/uniperif.h @@ -1372,12 +1372,12 @@ static __maybe_unused const struct snd_pcm_hardware uni_tdm_hw = { /* uniperiph player*/ int uni_player_init(struct platform_device *pdev, - struct uniperif *uni_player); + struct uniperif *player); int uni_player_resume(struct uniperif *player); /* uniperiph reader */ int uni_reader_init(struct platform_device *pdev, - struct uniperif *uni_reader); + struct uniperif *reader); /* common */ int sti_uniperiph_dai_set_fmt(struct snd_soc_dai *dai, -- 2.25.1