From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521AbcLJOIU (ORCPT ); Sat, 10 Dec 2016 09:08:20 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:53180 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbcLJOIS (ORCPT ); Sat, 10 Dec 2016 09:08:18 -0500 Date: Sat, 10 Dec 2016 15:08:24 +0100 From: Greg Kroah-Hartman To: csmanjuvijay@gmail.com Cc: Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] USB: OHCI: pxa27x:fix code errors Message-ID: <20161210140824.GB19434@kroah.com> References: <1481332408-452-1-git-send-email-csmanjuvijay@gmail.com> <1481332408-452-3-git-send-email-csmanjuvijay@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481332408-452-3-git-send-email-csmanjuvijay@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 10, 2016 at 01:13:28AM +0000, csmanjuvijay@gmail.com wrote: > From: Manjunath Goudar > > This patch will fix the checkpatch.pl following errors: > > ERROR: space prohibited after that open parenthesis '(' > ERROR: space prohibited before that close parenthesis ')' > > Signed-off-by: Manjunath Goudar > Cc: Alan Stern > Cc: Greg Kroah-Hartman > Cc: linux-usb@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/usb/host/ohci-pxa27x.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c > index c73e1ae..0f33583 100644 > --- a/drivers/usb/host/ohci-pxa27x.c > +++ b/drivers/usb/host/ohci-pxa27x.c > @@ -158,9 +158,9 @@ static int pxa27x_ohci_select_pmm(struct pxa27x_ohci *pxa_ohci, int mode) > uhcrhdb |= (0x7<<17); > break; > default: > - printk( KERN_ERR > + printk(KERN_ERR > "Invalid mode %d, set to non-power switch mode.\n", > - mode ); > + mode); Fix this properly and use dev_err() in a way that actually builds properly this time. thanks, greg k-h