From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Fri, 22 Sep 2017 17:40:35 +0000 Subject: Re: [media] spca500: Use common error handling code in spca500_synch310() Message-Id: <4921ea61-49cd-4071-e636-c199daddec8e@users.sourceforge.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall , linux-media@vger.kernel.org Cc: Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus , LKML , kernel-janitors@vger.kernel.org >> return 0; >> -error: >> + >> +report_failure: >> + PERR("Set packet size: set interface error"); >> return -EBUSY; >> } > > Why change the label name? I find the suggested variant a bi better. > They are both equally uninformative. Which identifier would you find appropriate there? Regards, Markus From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.web.de ([212.227.17.11]:58549 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbdIVRk6 (ORCPT ); Fri, 22 Sep 2017 13:40:58 -0400 Subject: Re: [media] spca500: Use common error handling code in spca500_synch310() To: Julia Lawall , linux-media@vger.kernel.org Cc: Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus , LKML , kernel-janitors@vger.kernel.org References: From: SF Markus Elfring Message-ID: <4921ea61-49cd-4071-e636-c199daddec8e@users.sourceforge.net> Date: Fri, 22 Sep 2017 19:40:35 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: >> return 0; >> -error: >> + >> +report_failure: >> + PERR("Set packet size: set interface error"); >> return -EBUSY; >> } > > Why change the label name? I find the suggested variant a bi better. > They are both equally uninformative. Which identifier would you find appropriate there? Regards, Markus