staging: lustre: Remove useless cast on void pointer
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | staging: lustre: ptlrpc: sec_bulk: Remove useless cast on void pointerdrivers/ | +1 | 0 replies | |
| 2/6 | staging: lustre: ptlrpc: service: Remove useless cast on void pointerdrivers/ | +3 | 0 replies | |
| 3/6 | staging: lustre: ptlrpc: pinger: Remove useless cast on void pointerdrivers/ | +1 | 0 replies | |
| 4/6 | staging: lustre: ptlrpc: sec_gc: Remove useless cast on void pointerdrivers/ | +1 | 0 replies | |
| 5/6 | staging: lustre: mgc: Remove useless cast on void pointerdrivers/ | +3 | 0 replies | |
| 6/6 | staging: lustre: osc: Remove useless cast on void pointerdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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