Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264AbaKJJcP (ORCPT ); Mon, 10 Nov 2014 04:32:15 -0500 Received: from regular1.263xmail.com ([211.150.99.133]:36211 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbaKJJcN (ORCPT ); Mon, 10 Nov 2014 04:32:13 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: andy.yan@rock-chips.com X-FST-TO: jay.xu@rock-chips.com X-SENDER-IP: 121.15.173.1 X-LOGIN-NAME: andy.yan@rock-chips.com X-UNIQUE-TAG: <924d727ab41622581d8b59400a93ed77> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <5460860A.7030802@rock-chips.com> Date: Mon, 10 Nov 2014 17:31:54 +0800 From: Andy Yan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Zubair Lutfullah Kakakhel , airlied@linux.ie, heiko@sntech.de, fabio.estevam@freescale.com, rmk+kernel@arm.linux.org.uk CC: Greg Kroah-Hartman , Grant Likely , Rob Herring , Philipp Zabel , Shawn Guo , Josh Boyer , Sean Paul , Inki Dae , Dave Airlie , Arnd Bergmann , Lucas Stach , djkurtz@google.com, ykk@rock-chips.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, jay.xu@rock-chips.com Subject: Re: [PATCH V5 3/7] dw-hdmi: make checkpatch happy References: <1415424410-7364-1-git-send-email-andy.yan@rock-chips.com> <1415424598-7533-1-git-send-email-andy.yan@rock-chips.com> <546083C5.8060502@imgtec.com> In-Reply-To: <546083C5.8060502@imgtec.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi ZubairLK: On 2014年11月10日 17:22, Zubair Lutfullah Kakakhel wrote: > Hi Andy, > > In 3.18 rc4, I cannot find checkpatch errors in imx-hdmi.c > > Have these errors come during the previous 2 patches. > > If yes, then these changes need to be squashed into the previous > patches. No patch should add a checkpatch error and then fix it in a later patch. > > Regards > ZubairLK I use checkpatch with --subjective > On 08/11/14 05:29, Andy Yan wrote: >> CHECK: Alignment should match open parenthesis >> + if ((hdmi->vic == 10) || (hdmi->vic == 11) || >> + (hdmi->vic == 12) || (hdmi->vic == 13) || >> >> CHECK: braces {} should be used on all arms of this statement >> + if (hdmi->hdmi_data.video_mode.mdvi) >> [...] >> + else { >> [...] >> >> Signed-off-by: Andy Yan >> --- >> drivers/gpu/drm/bridge/dw_hdmi.c | 97 ++++++++++++++++++++-------------------- >> 1 file changed, 48 insertions(+), 49 deletions(-) > > -- 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/