Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 621F3C33CB1 for ; Mon, 27 Jan 2020 21:23:49 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E463224679 for ; Mon, 27 Jan 2020 21:23:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="WvHk/EXZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E463224679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3263915E2; Mon, 27 Jan 2020 22:22:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3263915E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1580160227; bh=uDMFUTmf3z/EBFdxYuBu6oLW4xel8NBr/nfTPj8qVdU=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WvHk/EXZ2YUdTwMIzd78QRzp5mEcpAmLq21Ctf5RuTJ3qlll/+BoU0y2nwfw3Q2Y5 ReXvsH8zIXAZdTxcc1Cz+1ytFvkxXd4CJnOLP5a7cWVf2VfjV/di/nNTs2VOY22TSX ovwwAxZ6CyJyC2+ym5VD/wuv8psmRm0vRAadravc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3185FF80234; Mon, 27 Jan 2020 22:21:25 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5CE87F80256; Mon, 27 Jan 2020 22:21:21 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3BB8AF8021E for ; Mon, 27 Jan 2020 22:21:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3BB8AF8021E X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jan 2020 13:21:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,371,1574150400"; d="scan'208";a="231649939" Received: from ngstahl-mobl1.amr.corp.intel.com (HELO [10.254.190.105]) ([10.254.190.105]) by orsmga006.jf.intel.com with ESMTP; 27 Jan 2020 13:21:07 -0800 To: Cezary Rojewski , alsa-devel@alsa-project.org References: <20200127121243.15813-1-cezary.rojewski@intel.com> <20200127121243.15813-8-cezary.rojewski@intel.com> From: Pierre-Louis Bossart Message-ID: <2631f178-81e5-4981-ce3b-34819a82a29a@linux.intel.com> Date: Mon, 27 Jan 2020 15:01:03 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200127121243.15813-8-cezary.rojewski@intel.com> Content-Language: en-US Cc: broonie@kernel.org, tiwai@suse.com, lgirdwood@gmail.com Subject: Re: [alsa-devel] [PATCH v2 07/11] ASoC: SOF: Implement Probe IPC API X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" > +/** > + * sof_ipc_probe_points_remove - disconnect specified probes > + * @sdev: SOF sound device > + * @desc: List of probe points to disconnect > + * @num_desc: Number of elements in @desc > + * > + * Removes previously connected probes from list of active probe > + * points and frees all resources on DSP side. > + */ > +int sof_ipc_probe_points_remove(struct snd_sof_dev *sdev, > + unsigned int *buffer_id, size_t num_buffer_id) > +{ cppcheck warning: [sound/soc/sof/probe.h:83] -> [sound/soc/sof/probe.c:265]: (style, inconclusive) Function 'sof_ipc_probe_points_remove' argument 3 names different: declaration 'num_id' definition 'num_buffer_id'. cppcheck --platform=unix32 --force --max-configs=1024 --inconclusive --enable=all sound/soc/sof _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel