linux-sg2042/drivers/staging/rtl8188eu
Mamta Shukla 95f7ed6b7d staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation
Use sizeof(*ptr) instead of sizeof(ptr_type) makes memory
allocation easy in case the type of pointer changes.
Fix all checkpatch reported issues for "CHECK: Prefer
kzalloc(sizeof(*<p>)...) over kzalloc(sizeof(struct <P>)...)".

Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-19 21:10:45 +02:00
..
core staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation 2018-10-19 21:10:45 +02:00
hal staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
include staging: rtl8188eu: rename Hal_MappingOutPipe() - style 2018-10-14 13:33:16 +02:00
os_dep staging: rtl8188eu: cleanup comparsions to false 2018-10-15 16:30:39 +02:00
Kconfig Revert "staging:r8188eu: Use lib80211 to support TKIP" 2018-07-16 10:04:11 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00