lkml.org 
[lkml]   [2015]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] staging: wilc1000: remove kmalloc wrappers
Date
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

--
2.1.0



\
 
 \ /
  Last update: 2015-09-10 12:41    [W:0.148 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site