Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-03 Thread Kalle Valo
Fred Chou writes: >> Are you sure usb_control_msg() accepts vmalloc()ed buffers ? >> >> My guess is the answer is no. >> >> > > I agree, and I would like to drop the patch. Thanks. I dropped it from my queue. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-03 Thread Fred Chou
On 3/3/2015 2:00 PM, Eric Dumazet wrote: > On Tue, 2015-03-03 at 12:24 +0800, Fred Chou wrote: >> From: Fred Chou >> >> The temporary buffer to hold firmware data is not really needed, >> and memcpy can be avoided by using data pointer instead. >> >> Signed-off-by: Fred Chou >> --- >> drivers/

Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Eric Dumazet
On Tue, 2015-03-03 at 12:24 +0800, Fred Chou wrote: > From: Fred Chou > > The temporary buffer to hold firmware data is not really needed, > and memcpy can be avoided by using data pointer instead. > > Signed-off-by: Fred Chou > --- > drivers/net/wireless/ath/ath9k/hif_usb.c | 12 ++--

[PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Fred Chou
From: Fred Chou The temporary buffer to hold firmware data is not really needed, and memcpy can be avoided by using data pointer instead. Signed-off-by: Fred Chou --- drivers/net/wireless/ath/ath9k/hif_usb.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/driv