staging: lustre: remove uses and definition of container_of0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | staging: lustre: lcommon_cl.c: replace container_of0 by container_ofdrivers/ | +5 | 0 replies | |
| 2/7 | staging: lustre: llite_nfs.c: replace container_of0 by container_ofdrivers/ | +1 | 0 replies | |
| 3/7 | staging: lustre: lu_object.c: replace container_of0 by container_ofdrivers/ | +3 | 0 replies | |
| 4/7 | staging: lustre: echo_client.c: replace container_of0 by container_ofdrivers/ | +1 | 0 replies | |
| 5/7 | staging: lustre: osc_io.c: replace container_of0 by container_ofdrivers/ | +2 | 0 replies | |
| 6/7 | staging: lustre: osc_object.c: replace container_of0 by container_ofdrivers/ | +1 | 0 replies | |
| 7/7 | staging: lustre: remove container_of0 and __container_ofdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [lustre-devel] [PATCH 0/7] staging: lustre: remove uses and definition of container_of0
container_of0 can be replaced by the Linux kernel macro container_of. The only difference is that container_of0 tries to evade type casting when the pointer is erroneous or null. All uses of container_of0 have been replaced by container_of and then the macro was removed in the last patch.
Aya Mahfouz (7):
staging: lustre: lcommon_cl.c: replace container_of0 by container_of
staging: lustre: llite_nfs.c: replace container_of0 by container_of
staging: lustre: lu_object.c: replace container_of0 by container_of
staging: lustre: echo_client.c: replace container_of0 by container_of
staging: lustre: osc_io.c: replace container_of0 by container_of
staging: lustre: osc_object.c: replace container_of0 by container_of
staging: lustre: remove container_of0 and __container_of
drivers/staging/lustre/include/linux/libcfs/libcfs.h | 11 ----------- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 10 +++++----- drivers/staging/lustre/lustre/llite/llite_nfs.c | 2 +- drivers/staging/lustre/lustre/obdclass/lu_object.c | 6 +++--- drivers/staging/lustre/lustre/obdecho/echo_client.c | 2 +- drivers/staging/lustre/lustre/osc/osc_io.c | 4 ++-- drivers/staging/lustre/lustre/osc/osc_object.c | 2 +- 7 files changed, 13 insertions(+), 24 deletions(-)
Signature · 6 lines
2.4.2 -- Kind Regards, Aya Saif El-yazal Mahfouz