From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753143Ab3I0Pqr (ORCPT ); Fri, 27 Sep 2013 11:46:47 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:30339 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860Ab3I0Pqo (ORCPT ); Fri, 27 Sep 2013 11:46:44 -0400 Date: Fri, 27 Sep 2013 18:46:19 +0300 From: Dan Carpenter To: Martin Berglund Cc: teddy.wang@siliconmotion.com.cn, gregkh@linuxfoundation.org, wfp5p@virginia.edu, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: sm7xxfb: fixed line break coding style issues Message-ID: <20130927154619.GG6192@mwanda> References: <20130927122728.GE6192@mwanda> <1380296351-18906-1-git-send-email-martin@rogsta.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1380296351-18906-1-git-send-email-martin@rogsta.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 27, 2013 at 05:39:11PM +0200, Martin Berglund wrote: > On Fri, Sep 27, 2013 at 03:27:29PM +0300, Dan Carpenter wrote: > > On Fri, Sep 27, 2013 at 02:08:07PM +0200, Martin Berglund wrote: > > > @@ -508,9 +506,8 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) > > > > > > /* init SEQ register SR30 - SR75 */ > > > for (i = 0; i < SIZE_SR30_SR75; i++) > > > - if (((i + 0x30) != 0x62) \ > > > - && ((i + 0x30) != 0x6a) \ > > > - && ((i + 0x30) != 0x6b)) > > > + if (((i + 0x30) != 0x62) && ((i + 0x30) != 0x6a) > > > + && ((i + 0x30) != 0x6b)) > > > > The prefered way would be to align this like this: > > > > if ((i + 0x30) != 0x62 && > > (i + 0x30) != 0x6a && > > (i + 0x30) != 0x6b) > > > > regards, > > dan carpenter > > > > New patch. Looks nice, but could you resend it in a way that can be a applied? Take your original patch and change the subject to: [PATCH v2] Staging: sm7xxfb: fixed line break coding style issues Add "v2: minor style change" under the --- line. regards, dan carpenter