Re: [PATCH] liquidio CN23XX: check if PENDING bit is clear using logical and

2016-11-18 Thread David Miller
From: Colin King Date: Fri, 18 Nov 2016 18:45:32 + > From: Colin Ian King > > the mbox state should be bitwise anded rather than logically anded > with OCTEON_MBOX_STATE_RESPONSE_PENDING. Fix this by using the > correct & operator instead of &&. > > Signed-off-by: Colin Ian King Dan Carp

[PATCH] liquidio CN23XX: check if PENDING bit is clear using logical and

2016-11-18 Thread Colin King
From: Colin Ian King the mbox state should be bitwise anded rather than logically anded with OCTEON_MBOX_STATE_RESPONSE_PENDING. Fix this by using the correct & operator instead of &&. Signed-off-by: Colin Ian King --- drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c | 2 +- 1 file change