Re: [PATCH] net: dm9000: Correctly handle empty FIFO

2022-08-08 Thread Tom Rini
On Mon, Apr 25, 2022 at 08:28:05PM +0200, Marek Vasut wrote: > Assign packet pointer only in case the MAC reports anything in the FIFO. > In case the MAC indicates empty FIFO, return 0 to pass that information > to the network stack. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Ra

Re: [PATCH] net: dm9000: Correctly handle empty FIFO

2022-04-30 Thread Ramon Fried
On Mon, Apr 25, 2022 at 9:28 PM Marek Vasut wrote: > > Assign packet pointer only in case the MAC reports anything in the FIFO. > In case the MAC indicates empty FIFO, return 0 to pass that information > to the network stack. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Ramon Fried

[PATCH] net: dm9000: Correctly handle empty FIFO

2022-04-25 Thread Marek Vasut
Assign packet pointer only in case the MAC reports anything in the FIFO. In case the MAC indicates empty FIFO, return 0 to pass that information to the network stack. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Ramon Fried --- drivers/net/dm9000x.c | 4 ++-- 1 file changed, 2 insertions