From patchwork Fri Aug 7 15:39:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liam Girdwood X-Patchwork-Id: 6970471 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CFDF89F39D for ; Fri, 7 Aug 2015 15:39:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1449A205DF for ; Fri, 7 Aug 2015 15:39:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9925A205D4 for ; Fri, 7 Aug 2015 15:39:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0675B261A06; Fri, 7 Aug 2015 17:39:53 +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 E2A15260560; Fri, 7 Aug 2015 17:39:44 +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 1C13926066D; Fri, 7 Aug 2015 17:39:44 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by alsa0.perex.cz (Postfix) with ESMTP id BE7C82604EF for ; Fri, 7 Aug 2015 17:39:36 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 07 Aug 2015 08:39:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,630,1432623600"; d="scan'208";a="778944403" Received: from euzan-mobl3.ger.corp.intel.com (HELO loki.ger.corp.intel.com) ([10.252.23.54]) by fmsmga002.fm.intel.com with ESMTP; 07 Aug 2015 08:39:32 -0700 From: Liam Girdwood To: Date: Fri, 7 Aug 2015 16:39:16 +0100 Message-Id: <1438961956-6239-2-git-send-email-liam.r.girdwood@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438961956-6239-1-git-send-email-liam.r.girdwood@linux.intel.com> References: <1438961956-6239-1-git-send-email-liam.r.girdwood@linux.intel.com> Cc: Takashi Iwai , Liam Girdwood , Mark Brown Subject: [alsa-devel] [PATCH] topology: print error prefix on error message. 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 Let the user know it's an error. Signed-off-by: Liam Girdwood --- src/topology/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topology/data.c b/src/topology/data.c index c768bc5..0901851 100644 --- a/src/topology/data.c +++ b/src/topology/data.c @@ -384,7 +384,7 @@ int tplg_copy_data(struct tplg_elem *elem, struct tplg_elem *ref) break; default: - SNDERR("elem '%s': type %d private data not supported \n", + SNDERR("error: elem '%s': type %d private data not supported \n", elem->id, elem->type); return -EINVAL; }