From patchwork Thu Aug 13 08:34:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Mengdong" X-Patchwork-Id: 7006611 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C5AD4C05AC for ; Thu, 13 Aug 2015 08:21:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11B22206F8 for ; Thu, 13 Aug 2015 08:21:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id F0A17206E5 for ; Thu, 13 Aug 2015 08:21:52 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 07E82261A68; Thu, 13 Aug 2015 10:21:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 45F87260670; Thu, 13 Aug 2015 10:21:43 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id D7B502606E8; Thu, 13 Aug 2015 10:21:41 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id 9513A2604A1 for ; Thu, 13 Aug 2015 10:21:34 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 13 Aug 2015 01:21:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,668,1432623600"; d="scan'208";a="541048693" Received: from amanda-hsw-pc.sh.intel.com ([10.239.159.75]) by FMSMGA003.fm.intel.com with ESMTP; 13 Aug 2015 01:21:30 -0700 From: mengdong.lin@intel.com To: alsa-devel@alsa-project.org Date: Thu, 13 Aug 2015 16:34:54 +0800 Message-Id: <1439454894-2644-1-git-send-email-mengdong.lin@intel.com> X-Mailer: git-send-email 1.9.1 Cc: tiwai@suse.de, Mengdong Lin , broonie@kernel.org, liam.r.girdwood@intel.com Subject: [alsa-devel] [PATCH 1/2] topology: Fix missing return value for snd_tplg_set_manifest_data() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mengdong Lin Signed-off-by: Mengdong Lin diff --git a/src/topology/parser.c b/src/topology/parser.c index ca7de06..7ca244c 100644 --- a/src/topology/parser.c +++ b/src/topology/parser.c @@ -358,6 +358,8 @@ int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len) { tplg->manifest.priv.size = len; tplg->manifest_pdata = data; + + return 0; } void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)