Re: [PATCH] ath10k: Use ARRAY_SIZE

2019-09-17 Thread Kalle Valo
Vasyl Gomonovych wrote: > fix coccinelle warning, use ARRAY_SIZE > > Signed-off-by: Vasyl Gomonovych > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 7921ae091907 ath10k: Use ARRAY_SIZE -- https://patchwork.kernel.org/patch/11049553/

Re: [PATCH] ath10k: Use ARRAY_SIZE

2019-09-17 Thread Kalle Valo
Vasyl Gomonovych wrote: > fix coccinelle warning, use ARRAY_SIZE > > Signed-off-by: Vasyl Gomonovych > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 7921ae091907 ath10k: Use ARRAY_SIZE -- https://patchwork.kernel.org/patch/11049553/

Re: [PATCH] ath10k: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element

2019-09-17 Thread zhong jiang
On 2019/9/17 15:16, Kalle Valo wrote: > zhong jiang wrote: > >> With the help of Coccinelle, ARRAY_SIZE can be replaced in >> ath10k_snoc_wlan_enable. >> >> Signed-off-by: zhong jiang > I already got an identical patch so dropping this one. > > error: patch failed:

Re: [PATCH] ath10k: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element

2019-09-17 Thread Kalle Valo
zhong jiang wrote: > With the help of Coccinelle, ARRAY_SIZE can be replaced in > ath10k_snoc_wlan_enable. > > Signed-off-by: zhong jiang I already got an identical patch so dropping this one. error: patch failed: drivers/net/wireless/ath/ath10k/snoc.c:976 error:

Re: [PATCH] ath10k: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element

2019-09-17 Thread Kalle Valo
zhong jiang wrote: > With the help of Coccinelle, ARRAY_SIZE can be replaced in > ath10k_snoc_wlan_enable. > > Signed-off-by: zhong jiang I already got an identical patch so dropping this one. error: patch failed: drivers/net/wireless/ath/ath10k/snoc.c:976 error:

[PATCH] ath10k: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element

2019-09-04 Thread zhong jiang
With the help of Coccinelle, ARRAY_SIZE can be replaced in ath10k_snoc_wlan_enable. Signed-off-by: zhong jiang --- drivers/net/wireless/ath/ath10k/snoc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c

[PATCH] ath10k: Use ARRAY_SIZE

2019-07-18 Thread Vasyl Gomonovych
fix coccinelle warning, use ARRAY_SIZE Signed-off-by: Vasyl Gomonovych --- drivers/net/wireless/ath/ath10k/snoc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index