From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] topology: print error prefix on error message. Date: Fri, 07 Aug 2015 18:07:37 +0200 Message-ID: References: <1438961956-6239-1-git-send-email-liam.r.girdwood@linux.intel.com> <1438961956-6239-2-git-send-email-liam.r.girdwood@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B765B261A01 for ; Fri, 7 Aug 2015 18:07:37 +0200 (CEST) In-Reply-To: <1438961956-6239-2-git-send-email-liam.r.girdwood@linux.intel.com> 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 To: Liam Girdwood Cc: alsa-devel@alsa-project.org, Mark Brown List-Id: alsa-devel@alsa-project.org On Fri, 07 Aug 2015 17:39:16 +0200, Liam Girdwood wrote: > > Let the user know it's an error. > > Signed-off-by: Liam Girdwood Applied, thanks. Takashi > --- > 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; > } > -- > 2.1.4 >