Re: [U-Boot] [PATCH] dwc_ahsata: use bitwise operator in sata_port_status

2014-10-28 Thread Tom Rini
On Tue, Oct 28, 2014 at 02:59:29PM +0200, Nikita Kiryanov wrote: > The logic of the return statement in sata_port_status() calls for a > bitwise 'AND' operator, not logical 'AND'. Fix the typo. > > Reported-by: Jeroen Hofstee > Cc: Jeroen Hofstee > Cc: Stefano Babic > Signed-off-by: Nikita Kir

Re: [U-Boot] [PATCH] dwc_ahsata: use bitwise operator in sata_port_status

2014-10-28 Thread Jeroen Hofstee
Hello Nikita, On 28-10-14 13:59, Nikita Kiryanov wrote: The logic of the return statement in sata_port_status() calls for a bitwise 'AND' operator, not logical 'AND'. Fix the typo. Reported-by: Jeroen Hofstee Cc: Jeroen Hofstee Cc: Stefano Babic Signed-off-by: Nikita Kiryanov --- drivers/

[U-Boot] [PATCH] dwc_ahsata: use bitwise operator in sata_port_status

2014-10-28 Thread Nikita Kiryanov
The logic of the return statement in sata_port_status() calls for a bitwise 'AND' operator, not logical 'AND'. Fix the typo. Reported-by: Jeroen Hofstee Cc: Jeroen Hofstee Cc: Stefano Babic Signed-off-by: Nikita Kiryanov --- drivers/block/dwc_ahsata.c | 2 +- 1 file changed, 1 insertion(+), 1