Skip to content

staging: lustre: replace and remove class_devno_max

Aya Mahfouz lkml lustre-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICESdrivers/staging/lustre/lustre/obdclass/class_obd.c drivers/staging/lustre/lustre/obdclass/genops.c drivers/staging/lustre/lustre/obdclass/linux/linux-module.c+17 -173 replies
1/2staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES+0 -02 replies
1/2staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES+0 -00 replies
1/2staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES+0 -01 reply
2/2staging: lustre: remove class_devno_maxdrivers/staging/lustre/lustre/include/obd_class.h+0 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] staging: lustre: replace and remove class_devno_max

class_devno_max is an inline function that is written with the sole purpose of returning the value of MAX_OBD_DEVICES. Since no computations are made by the class_devno_max, replace it with MAX_OBD_DEVICES.

Aya Mahfouz (2):
staging: lustre: replace uses of class_devno_max by MAX_OBD_DEVICES
staging: lustre: remove class_devno_max

 drivers/staging/lustre/lustre/include/obd_class.h  |  5 -----
 drivers/staging/lustre/lustre/obdclass/class_obd.c |  6 +++---
 drivers/staging/lustre/lustre/obdclass/genops.c    | 22 +++++++++++-----------
 .../lustre/lustre/obdclass/linux/linux-module.c    |  6 +++---
 4 files changed, 17 insertions(+), 22 deletions(-)
Signature · 6 lines
2.5.0


-- 
Kind Regards,
Aya Saif El-yazal Mahfouz