Skip to content

staging: lustre: Remove useless cast on void pointer

Amitoj Kaur Chawla outreachy 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

-Fixed subject in commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging: lustre: ptlrpc: sec_bulk: Remove useless cast on void pointerdrivers/staging/lustre/lustre/ptlrpc/sec_bulk.c+1 -20 replies
2/6staging: lustre: ptlrpc: service: Remove useless cast on void pointerdrivers/staging/lustre/lustre/ptlrpc/service.c+3 -30 replies
3/6staging: lustre: ptlrpc: pinger: Remove useless cast on void pointerdrivers/staging/lustre/lustre/ptlrpc/pinger.c+1 -10 replies
4/6staging: lustre: ptlrpc: sec_gc: Remove useless cast on void pointerdrivers/staging/lustre/lustre/ptlrpc/sec_gc.c+1 -10 replies
5/6staging: lustre: mgc: Remove useless cast on void pointerdrivers/staging/lustre/lustre/mgc/mgc_request.c+3 -30 replies
6/6staging: lustre: osc: Remove useless cast on void pointerdrivers/staging/lustre/lustre/osc/osc_request.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] staging: lustre: Remove useless cast on void pointer

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(-)
Signature · 1 line
1.9.1