All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH v2 0/6] staging: lustre: Remove useless cast on void pointer
Date: Thu, 15 Oct 2015 00:09:24 +0530	[thread overview]
Message-ID: <cover.1444847780.git.amitoj1606@gmail.com> (raw)

This patchset fixes multiple useless casts on void pointers.

The semantic patch used to find this is:

@r@
expression x;
void* e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Changes in v2:
        -Fixed subject in commit message

Amitoj Kaur Chawla (6):
  staging: lustre: ptlrpc: sec_bulk: Remove useless cast on void pointer
  staging: lustre: ptlrpc: service: Remove useless cast on void pointer
  staging: lustre: ptlrpc: pinger: Remove useless cast on void pointer
  staging: lustre: ptlrpc: sec_gc: Remove useless cast on void pointer
  staging: lustre: mgc: Remove useless cast on void pointer
  staging: lustre: osc: Remove useless cast on void pointer

 drivers/staging/lustre/lustre/mgc/mgc_request.c | 6 +++---
 drivers/staging/lustre/lustre/osc/osc_request.c | 7 +++----
 drivers/staging/lustre/lustre/ptlrpc/pinger.c   | 2 +-
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c | 3 +--
 drivers/staging/lustre/lustre/ptlrpc/sec_gc.c   | 2 +-
 drivers/staging/lustre/lustre/ptlrpc/service.c  | 6 +++---
 6 files changed, 12 insertions(+), 14 deletions(-)

-- 
1.9.1



             reply	other threads:[~2015-10-14 18:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 18:39 Amitoj Kaur Chawla [this message]
2015-10-14 18:41 ` [PATCH v2 1/6] staging: lustre: ptlrpc: sec_bulk: Remove useless cast on void pointer Amitoj Kaur Chawla
2015-10-14 18:43 ` [PATCH v2 2/6] staging: lustre: ptlrpc: service: " Amitoj Kaur Chawla
2015-10-14 18:45 ` [PATCH v2 3/6] staging: lustre: ptlrpc: pinger: " Amitoj Kaur Chawla
2015-10-14 18:47 ` [PATCH v2 4/6] staging: lustre: ptlrpc: sec_gc: " Amitoj Kaur Chawla
2015-10-14 18:48 ` [PATCH v2 5/6] staging: lustre: mgc: " Amitoj Kaur Chawla
2015-10-14 18:50 ` [PATCH v2 6/6] staging: lustre: osc: " 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.1444847780.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.