Re: [PATCH] net: phy: dp83867: Fix warning check for setting the internal delay

2015-07-21 Thread David Miller
From: Dan Murphy dmur...@ti.com Date: Tue, 21 Jul 2015 12:06:45 -0500 Fix warning: logical ‘or’ of collectively exhaustive tests is always true Change the internal delay check from an 'or' condition to an 'and' condition. Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Dan

[PATCH] net: phy: dp83867: Fix warning check for setting the internal delay

2015-07-21 Thread Dan Murphy
Fix warning: logical ‘or’ of collectively exhaustive tests is always true Change the internal delay check from an 'or' condition to an 'and' condition. Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/net/phy/dp83867.c | 2 +- 1 file changed,

Re: [PATCH] net: phy: dp83867: Fix warning check for setting the internal delay

2015-07-21 Thread Florian Fainelli
On 21/07/15 10:06, Dan Murphy wrote: Fix warning: logical ‘or’ of collectively exhaustive tests is always true Change the internal delay check from an 'or' condition to an 'and' condition. Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Dan Murphy dmur...@ti.com Acked-by: