Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1738782 > unrolled thread
| Started by | Kalle Valo <kvalo@qca.qualcomm.com> |
|---|---|
| First post | 2017-09-25 09:20 +0200 |
| Last post | 2017-09-25 09:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [v2] ath9k: remove cast to void pointer Kalle Valo <kvalo@qca.qualcomm.com> - 2017-09-25 09:20 +0200
| From | Kalle Valo <kvalo@qca.qualcomm.com> |
|---|---|
| Date | 2017-09-25 09:20 +0200 |
| Subject | Re: [v2] ath9k: remove cast to void pointer |
| Message-ID | <utvQm-37E-17@gated-at.bofh.it> |
Himanshu Jha <himanshujha199640@gmail.com> wrote: > casting to void pointer from any pointer type and vice-versa is done > implicitly and therefore casting is not needed in such a case. > > Done using Coccinellle. > Semantic Patch used : > > @r@ > expression x; > void* e; > type T; > identifier f; > @@ > > ( > *((T *)e) > | > ((T *)x)[...] > | > ((T *)x)->f > | > - (T *) > e > ) > > > Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> > Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Patch applied to ath-next branch of ath.git, thanks. 50c8cd44ed5f ath9k: remove cast to void pointer -- https://patchwork.kernel.org/patch/9933585/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Back to top | Article view | linux.kernel
csiph-web