All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/8] staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc
Date: Fri, 26 Feb 2016 14:24:14 +0530	[thread overview]
Message-ID: <cover.1456475758.git.amitoj1606@gmail.com> (raw)

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



             reply	other threads:[~2016-02-26  8:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26  8:54 Amitoj Kaur Chawla [this message]
2016-02-26  8:54 ` [PATCH 1/8] staging: lustre: lclient: Replace kmem_cache_alloc with kmem_cache_zalloc 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1456475758.git.amitoj1606@gmail.com \
    --to=amitoj1606@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.