Tag: 6bcc1e1e703c2d734eec76bd104afc717a290205

staging: wilc1000: linux_mon: remove cast on void pointer

Author: Alison Schofield <amsfield22@gmail.com> Remove cast on void pointer. C programming language guarantees the conversion from void pointer to any other pointer type. Coccinelle patch: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[…] | ((T *)x)->f | – (T *) e ) Signed-off-by: Alison Schofield Signed-off-by: Greg …

Continue reading