Skip to content

staging: wilc1000: remove kmalloc wrappers

Mike Rapoport lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5staging: wilc1000: host_interface.c: replace WILC_MALLOC with kmallocdrivers/staging/wilc1000/host_interface.c+85 -602 replies
2/5staging: wilc1000: wilc_wfi_cfgoperations.c: replace WILC_MALLOC with kmallocdrivers/staging/wilc1000/wilc_wfi_cfgoperations.c+36 -200 replies
3/5staging: wilc1000: do not include wilc_memory.hdrivers/staging/wilc1000/wilc_msgqueue.h drivers/staging/wilc1000/wilc_oswrapper.h+0 -40 replies
4/5staging: wilc1000: make: remove wilc_memory.o from wilc1000-objsdrivers/staging/wilc1000/Makefile+1 -10 replies
5/5staging: wilc1000: remove wilc_memory.[ch]drivers/staging/wilc1000/wilc_memory.c drivers/staging/wilc1000/wilc_memory.h+0 -820 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] staging: wilc1000: remove kmalloc wrappers

The wilc_memory.[ch] provide wrappers to kmalloc that effectively boil down to calling to kmalloc with flags=GFP_ATOMIC. Replacing the calls to these wrappers with direct calls to kmalloc allows removal of the wilc_memory.[ch] files.

Mike Rapoport (5):
staging: wilc1000: host_interface.c: replace WILC_MALLOC with kmalloc
staging: wilc1000: wilc_wfi_cfgoperations.c: replace WILC_MALLOC with
kmalloc
staging: wilc1000: do not include wilc_memory.h
staging: wilc1000: make: remove wilc_memory.o from wilc1000-objs
staging: wilc1000: remove wilc_memory.[ch]

 drivers/staging/wilc1000/Makefile                 |   2 +-
 drivers/staging/wilc1000/host_interface.c         | 145 +++++++++++++---------
 drivers/staging/wilc1000/wilc_memory.c            |  16 ---
 drivers/staging/wilc1000/wilc_memory.h            |  66 ----------
 drivers/staging/wilc1000/wilc_msgqueue.h          |   1 -
 drivers/staging/wilc1000/wilc_oswrapper.h         |   3 -
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |  56 ++++++---
 7 files changed, 122 insertions(+), 167 deletions(-)
 delete mode 100644 drivers/staging/wilc1000/wilc_memory.c
 delete mode 100644 drivers/staging/wilc1000/wilc_memory.h
Signature · 1 line
2.1.0