From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH 00/18] Input - Fix make coccicheck warnings Date: Fri, 2 Oct 2015 11:25:07 -0700 Message-ID: <20151002182507.GQ8437@dtor-ws> References: <1443793229-22363-1-git-send-email-javier@osg.samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f50.google.com ([209.85.220.50]:35363 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751919AbbJBSZM (ORCPT ); Fri, 2 Oct 2015 14:25:12 -0400 Content-Disposition: inline In-Reply-To: <1443793229-22363-1-git-send-email-javier@osg.samsung.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Ferruh Yigit , Axel Lin , Pramod Gurav , Benjamin Tissoires , Heiko Stuebner , Fabio Estevam , Hans de Goede , Rasmus Villemoes , Rob Herring , Dirk Behme , Benson Leung , Shailendra Verma , Krzysztof Kozlowski , linux-input@vger.kernel.org, Duson Lin , Jingoo Han , Wolfram Sang , Wei Yongjun , Henrik Rydberg , Daniel Mack , Nick Dyer , Matt Ranostay Hi Javier, On Fri, Oct 02, 2015 at 03:40:11PM +0200, Javier Martinez Canillas wrote: > Hello Dmitry, > > This series contains trivial patches with fixes to different warnings > reported by make coccichek M=drivers/input. > > The patches don't contain functional changes but makes the functions > simpler and removes unnecessary lines of code. I disagree with some "simplify function return logic" patches: when there are several actions that may fail I prefer explicit: error = actionN(); if (error) return error; return 0; even on the last one as it keep with the code flow and makes it easier to move stuff around. Please consider patches that not explicitly replied to as applied a dropped. Thanks. -- Dmitry