From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752510AbdIVRlw (ORCPT ); Fri, 22 Sep 2017 13:41:52 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48760 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752218AbdIVRlv (ORCPT ); Fri, 22 Sep 2017 13:41:51 -0400 X-IronPort-AV: E=Sophos;i="5.42,427,1500933600"; d="scan'208";a="292344609" Date: Fri, 22 Sep 2017 19:41:13 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: SF Markus Elfring cc: Julia Lawall , linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus , LKML , kernel-janitors@vger.kernel.org Subject: Re: [media] spca500: Use common error handling code in spca500_synch310() In-Reply-To: <4921ea61-49cd-4071-e636-c199daddec8e@users.sourceforge.net> Message-ID: References: <4921ea61-49cd-4071-e636-c199daddec8e@users.sourceforge.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Sep 2017, SF Markus Elfring wrote: > >> 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? error was fine. julia