Re: [PATCH v2] usb: move assignment out of if condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux