From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@st.com (viresh kumar) Date: Fri, 29 Jul 2011 16:51:17 +0530 Subject: [PATCH 02/18] dmaengine/amba-pl08x: Resolve formatting issues In-Reply-To: <20110729110013.GF25640@n2100.arm.linux.org.uk> References: <1e5012faf0649e7ed0113960a9ac8302e46f1354.1311936524.git.viresh.kumar@st.com> <20110729110013.GF25640@n2100.arm.linux.org.uk> Message-ID: <4E3297AD.5010506@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 07/29/2011 04:30 PM, Russell King - ARM Linux wrote: > On Fri, Jul 29, 2011 at 04:19:12PM +0530, Viresh Kumar wrote: >> - Remove extra blank lines and spaces > > A double space after a full-stop is standard practice for many people. > Please don't reformat that. > Ok. I didn't knew it. >> @@ -284,7 +284,7 @@ static void pl08x_terminate_phy_chan(struct pl08x_driver_data *pl08x, >> u32 val = readl(ch->base + PL080_CH_CONFIG); >> >> val &= ~(PL080_CONFIG_ENABLE | PL080_CONFIG_ERR_IRQ_MASK | >> - PL080_CONFIG_TC_IRQ_MASK); >> + PL080_CONFIG_TC_IRQ_MASK); > > This looks worse than the original. > > > And many more of that. > Ok. Should i leave tabs and spaces mixed or just delete one tab in my change. >> ret = dma_async_device_register(&pl08x->memcpy); >> if (ret) { >> - dev_warn(&pl08x->adev->dev, >> - "%s failed to register memcpy as an async device - %d\n", >> - __func__, ret); >> + dev_warn(&pl08x->adev->dev, "%s failed to register memcpy as an" >> + " async device - %d\n", __func__, ret); > > Definitely not acceptable. Ignore warnings about wrapping 80 columns for > kernel messages. Ok. -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932149Ab1G2LVi (ORCPT ); Fri, 29 Jul 2011 07:21:38 -0400 Received: from eu1sys200aog104.obsmtp.com ([207.126.144.117]:56928 "EHLO eu1sys200aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755886Ab1G2LVh (ORCPT ); Fri, 29 Jul 2011 07:21:37 -0400 Message-ID: <4E3297AD.5010506@st.com> Date: Fri, 29 Jul 2011 16:51:17 +0530 From: viresh kumar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Russell King - ARM Linux Cc: "linus.walleij@linaro.org" , Pratyush ANAND , Rajeev KUMAR , Bhupesh SHARMA , Shiraz HASHIM , "vinod.koul@intel.com" , "linux-kernel@vger.kernel.org" , Vipin KUMAR , Armando VISCONTI , Amit VIRDI , Vipul Kumar SAMAR , "viresh.linux@gmail.com" , Deepak SIKRI , "dan.j.williams@intel.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 02/18] dmaengine/amba-pl08x: Resolve formatting issues References: <1e5012faf0649e7ed0113960a9ac8302e46f1354.1311936524.git.viresh.kumar@st.com> <20110729110013.GF25640@n2100.arm.linux.org.uk> In-Reply-To: <20110729110013.GF25640@n2100.arm.linux.org.uk> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/29/2011 04:30 PM, Russell King - ARM Linux wrote: > On Fri, Jul 29, 2011 at 04:19:12PM +0530, Viresh Kumar wrote: >> - Remove extra blank lines and spaces > > A double space after a full-stop is standard practice for many people. > Please don't reformat that. > Ok. I didn't knew it. >> @@ -284,7 +284,7 @@ static void pl08x_terminate_phy_chan(struct pl08x_driver_data *pl08x, >> u32 val = readl(ch->base + PL080_CH_CONFIG); >> >> val &= ~(PL080_CONFIG_ENABLE | PL080_CONFIG_ERR_IRQ_MASK | >> - PL080_CONFIG_TC_IRQ_MASK); >> + PL080_CONFIG_TC_IRQ_MASK); > > This looks worse than the original. > > > And many more of that. > Ok. Should i leave tabs and spaces mixed or just delete one tab in my change. >> ret = dma_async_device_register(&pl08x->memcpy); >> if (ret) { >> - dev_warn(&pl08x->adev->dev, >> - "%s failed to register memcpy as an async device - %d\n", >> - __func__, ret); >> + dev_warn(&pl08x->adev->dev, "%s failed to register memcpy as an" >> + " async device - %d\n", __func__, ret); > > Definitely not acceptable. Ignore warnings about wrapping 80 columns for > kernel messages. Ok. -- viresh