Messages in this thread | | | Date | Mon, 6 Jul 2015 19:06:35 -0700 | From | Greg KH <> | 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@gmail.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
| |