From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/6] staging: lustre: Remove useless cast on void pointer
Date: Wed, 14 Oct 2015 23:35:33 +0530 [thread overview]
Message-ID: <cover.1444845733.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
)
Amitoj Kaur Chawla (6):
staging: lustre: ptlrpc: Remove useless cast on void pointer
staging: lustre: ptlrpc: Remove useless cast on void pointer
staging: lustre: ptlrpc: Remove useless cast on void pointer
staging: lustre: ptlrpc: 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
next reply other threads:[~2015-10-14 18:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 18:05 Amitoj Kaur Chawla [this message]
2015-10-14 18:07 ` [PATCH 1/6] staging: lustre: ptlrpc: Remove useless cast on void pointer Amitoj Kaur Chawla
2015-10-14 18:08 ` [PATCH 2/6] " Amitoj Kaur Chawla
2015-10-14 18:09 ` [PATCH 3/6] " Amitoj Kaur Chawla
2015-10-14 18:09 ` [Outreachy kernel] [PATCH 0/6] staging: lustre: " Julia Lawall
2015-10-14 18:16 ` Amitoj Kaur Chawla
2015-10-14 18:22 ` Daniel Baluta
2015-10-14 18:24 ` Amitoj Kaur Chawla
2015-10-14 18:11 ` [PATCH 4/6] staging: lustre: ptlrpc: " Amitoj Kaur Chawla
2015-10-14 18:13 ` [PATCH 5/6] staging: lustre: mgc: " Amitoj Kaur Chawla
2015-10-14 18:14 ` [PATCH 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.1444845733.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.