Re: [PATCH] net: macb: Fix build warning

2013-12-11 Thread Nicolas Ferre
On 11/12/2013 05:57, Soren Brinkmann : When adjusting the link speed, the target frequency is determined by a 'swith (LINK_SPEED)' statement, that assigns the target rate only for valid and expected LINK_SPEED values. This incomplete switch statement leads to the following build warning: dr

[PATCH] net: macb: Fix build warning

2013-12-10 Thread Soren Brinkmann
When adjusting the link speed, the target frequency is determined by a 'swith (LINK_SPEED)' statement, that assigns the target rate only for valid and expected LINK_SPEED values. This incomplete switch statement leads to the following build warning: drivers/net/ethernet/cadence/macb.c: In func