Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751584AbaBMAve (ORCPT ); Wed, 12 Feb 2014 19:51:34 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:64800 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbaBMAvc (ORCPT ); Wed, 12 Feb 2014 19:51:32 -0500 X-AuditID: cbfee691-b7efc6d0000039d3-57-52fc171197ae From: Jingoo Han To: "'Pavel Machek'" , "'Jenny Tc'" Cc: linux-kernel@vger.kernel.org, "'Dmitry Eremin-Solenikov'" , "'Anton Vorontsov'" , "'Anton Vorontsov'" , "'Kim Milo'" , "'Lee Jones'" , "'Chanwoo Choi'" , "'Sachin Kamat'" , "'Lars-Peter Clausen'" , "=?ISO-8859-1?Q?'Pali_Roh=E1r'?=" , "'Rhyland Klein'" , "'Rafael J. Wysocki'" , "'David Woodhouse'" , "'Tony Lindgren'" , "'Russell King'" , "'Sebastian Reichel'" , aaro.koskinen@iki.fi, "'Pallala Ramakrishna'" , freemangordon@abv.bg, linux-omap@vger.kernel.org, "'Jingoo Han'" References: <1391490780-6141-1-git-send-email-jenny.tc@intel.com> <1391490780-6141-3-git-send-email-jenny.tc@intel.com> <20140204113630.GC2450@amd.pavel.ucw.cz> <20140205081458.GA19586@jenny-desktop> <20140212110005.GF25706@amd.pavel.ucw.cz> In-reply-to: <20140212110005.GF25706@amd.pavel.ucw.cz> Subject: Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver Date: Thu, 13 Feb 2014 09:51:29 +0900 Message-id: <002301cf2855$bb121790$313646b0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac8n4Zga+NGj3gRyQmeomeXcaDh23gAc4WNw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA5WSa0iTURjHOXvfvZsj4bg0TwO1hC6I96mdKEMq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-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, February 12, 2014 8:00 PM, Pavel Machek wrote: > On Wed 2014-02-05 13:44:58, Jenny Tc wrote: > > On Tue, Feb 04, 2014 at 12:36:30PM +0100, Pavel Machek wrote: > > > > +struct psy_charger_context { > > > > + bool is_usb_cable_evt_reg; > > > > + int psyc_cnt; > > > > + int batt_status; > > > > + /*cache battery and charger properties */ > > > > > > Comment coding style. Please run you patches through checkpatch. > > > > checkpatch doesn't throw any error/warning. /* ... */ not allowed for single line > > comments? (will fix missing space after /*) > > I meant the space after /*. Maybe checkpatch does not report anything > here, but I guess there are other places where it will comment :-). Yes, right. + /*cache battery and charger properties */ ^ 'one space' is necessary between '/*' and 'cache'. This can be fixed as below. + /* cache battery and charger properties */ Best regards, Jingoo Han -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/