All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc
@ 2016-02-26  8:54 Amitoj Kaur Chawla
  2016-02-26  8:54 ` [PATCH 1/8] staging: lustre: lclient: " Amitoj Kaur Chawla
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Amitoj Kaur Chawla @ 2016-02-26  8:54 UTC (permalink / raw)
  To: outreachy-kernel

This patchset replaces kmem_cache_alloc with kmem_cache_zalloc.

The Coccinelle semantic patch used to make this change is as
follows:
// <smpl>
@@
expression e,f;
@@
- kmem_cache_alloc(e, f |__GFP_ZERO)
+ kmem_cache_zalloc(e, f)
// </smpl>

Amitoj Kaur Chawla (8):
  staging: lustre: lclient: Replace kmem_cache_alloc with
    kmem_cache_zalloc
  staging: lustre: obdclass: Replace kmem_cache_alloc with
    kmem_cache_zalloc
  staging: lustre: lov: Replace kmem_cache_alloc with kmem_cache_zalloc
  staging: lustre: obdecho: Replace kmem_cache_alloc with
    kmem_cache_zalloc
  staging: lustre: ptlrpc: Replace kmem_cache_alloc with
    kmem_cache_zalloc
  staging: lustre: osc: Replace kmem_cache_alloc with kmem_cache_zalloc
  staging: lustre: ldlm: Replace kmem_cache_alloc with kmem_cache_zalloc
  staging: lustre: llite: Replace kmem_cache_alloc with
    kmem_cache_zalloc

 drivers/staging/lustre/lustre/lclient/lcommon_cl.c  | 10 +++++-----
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c    |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_lock.c      |  2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c  |  2 +-
 drivers/staging/lustre/lustre/llite/file.c          |  4 ++--
 drivers/staging/lustre/lustre/llite/llite_close.c   |  2 +-
 drivers/staging/lustre/lustre/llite/llite_lib.c     |  3 +--
 drivers/staging/lustre/lustre/llite/namei.c         |  2 +-
 drivers/staging/lustre/lustre/llite/remote_perm.c   |  4 ++--
 drivers/staging/lustre/lustre/llite/super25.c       |  2 +-
 drivers/staging/lustre/lustre/llite/vvp_dev.c       |  4 ++--
 drivers/staging/lustre/lustre/llite/xattr_cache.c   |  2 +-
 drivers/staging/lustre/lustre/lov/lov_dev.c         |  6 +++---
 drivers/staging/lustre/lustre/lov/lov_ea.c          |  2 +-
 drivers/staging/lustre/lustre/lov/lov_lock.c        |  6 +++---
 drivers/staging/lustre/lustre/lov/lov_object.c      |  2 +-
 drivers/staging/lustre/lustre/lov/lov_request.c     | 11 ++++-------
 drivers/staging/lustre/lustre/lov/lovsub_dev.c      |  2 +-
 drivers/staging/lustre/lustre/lov/lovsub_lock.c     |  2 +-
 drivers/staging/lustre/lustre/lov/lovsub_object.c   |  2 +-
 drivers/staging/lustre/lustre/obdclass/cl_lock.c    |  2 +-
 drivers/staging/lustre/lustre/obdclass/cl_object.c  |  2 +-
 drivers/staging/lustre/lustre/obdclass/genops.c     |  2 +-
 drivers/staging/lustre/lustre/obdecho/echo_client.c |  8 ++++----
 drivers/staging/lustre/lustre/osc/osc_cache.c       |  2 +-
 drivers/staging/lustre/lustre/osc/osc_dev.c         |  4 ++--
 drivers/staging/lustre/lustre/osc/osc_io.c          |  2 +-
 drivers/staging/lustre/lustre/osc/osc_lock.c        |  2 +-
 drivers/staging/lustre/lustre/osc/osc_object.c      |  2 +-
 drivers/staging/lustre/lustre/osc/osc_quota.c       |  2 +-
 drivers/staging/lustre/lustre/osc/osc_request.c     |  4 ++--
 drivers/staging/lustre/lustre/ptlrpc/client.c       |  2 +-
 32 files changed, 51 insertions(+), 55 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-26  8:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26  8:54 [PATCH 0/8] staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 1/8] staging: lustre: lclient: " Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 2/8] staging: lustre: obdclass: " Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 3/8] staging: lustre: lov: " Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 4/8] staging: lustre: obdecho: " Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 5/8] staging: lustre: ptlrpc: " Amitoj Kaur Chawla
2016-02-26  8:54 ` [PATCH 6/8] staging: lustre: osc: " Amitoj Kaur Chawla
2016-02-26  8:55 ` [PATCH 7/8] staging: lustre: ldlm: " Amitoj Kaur Chawla
2016-02-26  8:55 ` [PATCH 8/8] staging: lustre: llite: " Amitoj Kaur Chawla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.