Re: [PATCH] net: macb: initialize is_gem before usage

2013-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:58 Wed 13 Mar , Steffen Trumtrar wrote: > The variable macb->is_gem is evaluated before it is initialized. > That leads to a wrong rx_buffer setup in the gem case. Also, the > function gem_recv will never be used. > > Set the variable first and then use it. > > Signed-off-by: Steffen Tr

[PATCH] net: macb: initialize is_gem before usage

2013-03-13 Thread Steffen Trumtrar
The variable macb->is_gem is evaluated before it is initialized. That leads to a wrong rx_buffer setup in the gem case. Also, the function gem_recv will never be used. Set the variable first and then use it. Signed-off-by: Steffen Trumtrar --- drivers/net/macb.c | 13 +++-- 1 file chang