From patchwork Tue Sep 8 20:21:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Takashi Iwai X-Patchwork-Id: 7143091 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 20C68BEEC1 for ; Tue, 8 Sep 2015 20:24:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A24320924 for ; Tue, 8 Sep 2015 20:24:04 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 4793020810 for ; Tue, 8 Sep 2015 20:24:03 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 44436265347; Tue, 8 Sep 2015 22:24:02 +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 1A01C2651B7; Tue, 8 Sep 2015 22:21:57 +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 19DDE2650F7; Tue, 8 Sep 2015 22:21:55 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DCFB626516A for ; Tue, 8 Sep 2015 22:21:44 +0200 (CEST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BA951AD61; Tue, 8 Sep 2015 20:21:43 +0000 (UTC) From: Takashi Iwai To: alsa-devel@alsa-project.org Date: Tue, 8 Sep 2015 22:21:40 +0200 Message-Id: <1441743701-28165-5-git-send-email-tiwai@suse.de> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1441743701-28165-1-git-send-email-tiwai@suse.de> References: <1441743701-28165-1-git-send-email-tiwai@suse.de> MIME-Version: 1.0 Cc: Liam Girdwood , Mengdong Lin Subject: [alsa-devel] [PATCH lib 4/5] topology: parser: Add missing return value to 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Spotted by gcc warning: parser.c: In function ‘snd_tplg_set_manifest_data’: parser.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Signed-off-by: Takashi Iwai --- src/topology/parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/topology/parser.c b/src/topology/parser.c index ca7de0689cea..44c6146b22f2 100644 --- a/src/topology/parser.c +++ b/src/topology/parser.c @@ -358,6 +358,7 @@ 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)