All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] staging: lustre: Remove useless cast on void pointer
@ 2015-10-14 18:05 Amitoj Kaur Chawla
  2015-10-14 18:07 ` [PATCH 1/6] staging: lustre: ptlrpc: " Amitoj Kaur Chawla
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-14 18:05 UTC (permalink / raw)
  To: outreachy-kernel

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



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

end of thread, other threads:[~2015-10-14 18:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14 18:05 [PATCH 0/6] staging: lustre: Remove useless cast on void pointer Amitoj Kaur Chawla
2015-10-14 18:07 ` [PATCH 1/6] staging: lustre: ptlrpc: " 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

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.