Re: [PATCH] wireless: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset

2 messages, 2 authors, 2018-08-20 · open the first message on its own page

Re: [PATCH] wireless: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset

From: Kalle Valo <hidden>
Date: 2018-08-18 18:31:35

Kalle Valo [off-list ref] writes:
zhong jiang [off-list ref] writes:
quoted
dma_zalloc_coherent has implemented the dma_alloc_coherent() + memset (),
We prefer to dma_zalloc_coherent instead of open-codeing.

Signed-off-by: zhong jiang <redacted>
---
 drivers/net/wireless/ath/wcn36xx/dxe.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
The correct prefix is "wcn36xx: ", not "wireless:". I can fix it this
time.

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong
Actually please resend this patch and CC linux-wireless so that
patchwork sees this.

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#who_to_address

-- 
Kalle Valo

Re: [PATCH] wireless: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset

From: zhong jiang <hidden>
Date: 2018-08-20 10:53:26

On 2018/8/19 2:31, Kalle Valo wrote:
Kalle Valo [off-list ref] writes:
quoted
zhong jiang [off-list ref] writes:
quoted
dma_zalloc_coherent has implemented the dma_alloc_coherent() + memset (),
We prefer to dma_zalloc_coherent instead of open-codeing.

Signed-off-by: zhong jiang <redacted>
---
 drivers/net/wireless/ath/wcn36xx/dxe.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
The correct prefix is "wcn36xx: ", not "wireless:". I can fix it this
time.

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong
Actually please resend this patch and CC linux-wireless so that
patchwork sees this.

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#who_to_address
 Thanks. I will resend it in v2.

Best wishes,
zhong jiang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help