Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222097

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

From Mike Rapoport <mike.rapoport@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/5] staging: wilc1000: remove kmalloc wrappers
Date 2015-09-10 12:30 +0200
Message-ID <q77h8-74B-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] staging: wilc1000: remove kmalloc wrappers Mike Rapoport <mike.rapoport@gmail.com> - 2015-09-10 12:30 +0200
  Re: [PATCH 0/5] staging: wilc1000: remove kmalloc wrappers Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-09-12 06:40 +0200

csiph-web