[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 6 Jul 2015 19:06:35 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Kris Borer <kborer@...il.com>
Cc: stern@...land.harvard.edu, balbi@...com, pmladek@...e.cz,
antoine.tenart@...e-electrons.com, hdegoede@...hat.com,
sergei.shtylyov@...entembedded.com, rafael.j.wysocki@...el.com,
mickael.maison@...il.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] usb: move assignment out of if condition
On Thu, Jul 02, 2015 at 06:23:59PM -0400, Kris Borer wrote:
> Fix four occurrences of checkpatch.pl error:
>
> ERROR: do not use assignment in if condition
>
> Signed-off-by: Kris Borer <kborer@...il.com>
> ---
> drivers/usb/core/hcd.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 deletions(-)
Again, please use Coccinelle for something like this, otherwise I'm not
going to trust that it is correct :)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists