All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] staging: lustre: Remove useless cast on void pointer
@ 2015-10-14 18:39 Amitoj Kaur Chawla
  2015-10-14 18:41 ` [PATCH v2 1/6] staging: lustre: ptlrpc: sec_bulk: " Amitoj Kaur Chawla
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Amitoj Kaur Chawla @ 2015-10-14 18:39 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
)

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



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

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

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

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.