From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753254Ab1HDJ0S (ORCPT ); Thu, 4 Aug 2011 05:26:18 -0400 Received: from eu1sys200aog111.obsmtp.com ([207.126.144.131]:55081 "EHLO eu1sys200aog111.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753154Ab1HDJ0I (ORCPT ); Thu, 4 Aug 2011 05:26:08 -0400 Message-ID: <4E3A659A.6080107@st.com> Date: Thu, 4 Aug 2011 14:55:46 +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: "Koul, Vinod" Cc: "linus.walleij@linaro.org" , Pratyush ANAND , Rajeev KUMAR , "linux@arm.linux.org.uk" , Bhupesh SHARMA , Shiraz HASHIM , "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 V2 07/20] dmaengine/amba-pl08x: Changing few prints to dev_dbg from dev_info References: <5752f0202ff197d548999395d68131053693e4b3.1312190881.git.viresh.kumar@st.com> <1312446527.1539.2.camel@vkoul-udesk3> In-Reply-To: <1312446527.1539.2.camel@vkoul-udesk3> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/04/2011 01:58 PM, Koul, Vinod wrote: >> > + dev_dbg(&adev->dev, >> > "physical channel %d is %s\n", i, >> > pl08x_phy_channel_busy(ch) ? "BUSY" : "FREE"); >> > } > ahh, this looks ugly, can you pls fix the print to make them look > better. Single line or fmt string is one line should be ok, arg can be > moved to second. Just to check if I understood your suggestion correctly, you want this: dev_dbg(&adev->dev, "physical channel %d is %s\n", i, pl08x_phy_channel_busy(ch) ? "BUSY" : "FREE"); Surely that will be done. -- viresh