|
From: | Hervé Poussineau |
Subject: | Re: [PATCH 1/3] dp8393x: put the DMA buffer in the state structure |
Date: | Tue, 5 Nov 2019 21:29:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Le 02/11/2019 à 18:15, Laurent Vivier a écrit :
Move it from the stack. It's only 24 bytes, and this simplifies the dp8393x_get()/ dp8393x_put() interface. Signed-off-by: Laurent Vivier <address@hidden> --- hw/net/dp8393x.c | 105 ++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 55 deletions(-)
Reviewed-by: Hervé Poussineau <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |