Re: [PATCH 5/6] hw/net: Make NetCanReceive() return a boolean

2020-03-06 Thread Cédric Le Goater
On 3/5/20 6:56 PM, Philippe Mathieu-Daudé wrote: > The NetCanReceive handler return whether the device can or > can not receive new packets. Make it obvious by returning > a boolean type. > > Signed-off-by: Philippe Mathieu-Daudé ftgmac100 looks good. Reviewed-by: Cédric Le Goater Thanks, C.

Re: [PATCH 5/6] hw/net: Make NetCanReceive() return a boolean

2020-03-05 Thread David Gibson
On Thu, Mar 05, 2020 at 06:56:49PM +0100, Philippe Mathieu-Daudé wrote: > The NetCanReceive handler return whether the device can or > can not receive new packets. Make it obvious by returning > a boolean type. > > Signed-off-by: Philippe Mathieu-Daudé ppc parts Acked-by: David Gibson > --- >

Re: [PATCH 5/6] hw/net: Make NetCanReceive() return a boolean

2020-03-05 Thread Alistair Francis
On Thu, Mar 5, 2020 at 9:57 AM Philippe Mathieu-Daudé wrote: > > The NetCanReceive handler return whether the device can or > can not receive new packets. Make it obvious by returning > a boolean type. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > h

[PATCH 5/6] hw/net: Make NetCanReceive() return a boolean

2020-03-05 Thread Philippe Mathieu-Daudé
The NetCanReceive handler return whether the device can or can not receive new packets. Make it obvious by returning a boolean type. Signed-off-by: Philippe Mathieu-Daudé --- hw/net/i82596.h | 2 +- include/net/net.h | 2 +- hw/net/allwinner_emac.c | 2 +- hw/net/cadence_gem.c