Re: [U-Boot] [PATCH] usb: xhci: (likely) fix bracket in if condition

2014-06-25 Thread Marek Vasut
On Thursday, June 12, 2014 at 12:31:27 AM, Jeroen Hofstee wrote: > Because of the brackets the & and && is evaluated before > the comparison. This is likely not the intention. Change > it to test the first and second condition to both be true. > > cc: Marek Vasut > Signed-off-by: Jeroen Hofstee

[U-Boot] [PATCH] usb: xhci: (likely) fix bracket in if condition

2014-06-11 Thread Jeroen Hofstee
Because of the brackets the & and && is evaluated before the comparison. This is likely not the intention. Change it to test the first and second condition to both be true. cc: Marek Vasut Signed-off-by: Jeroen Hofstee --- fixes a warning: drivers/usb/host/xhci.c:647:32: warning: comparison o