Skip to content

Remove uses and definition of IS_PO2

Aya Mahfouz lustre-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v2 posting 2/25 patches 0 repliesSuperseded
  3. v2 posting 1/25 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5staging: lustre: ldlm_extent.c: replace IS_PO2 by is_power_of_2drivers/staging/lustre/lustre/ldlm/ldlm_extent.c+1 -10 replies
2/5staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2drivers/staging/lustre/lustre/libcfs/hash.c+2 -11 reply
3/5staging: lustre: workitem.c: replace IS_PO2 by is_power_of_2drivers/staging/lustre/lustre/libcfs/workitem.c+1 -10 replies
4/5staging: lustre: selftest.h: replace IS_PO2 by is_power_of_2drivers/staging/lustre/lnet/selftest/selftest.h+1 -10 replies
5/5staging: lustre: libcfs.h: remove IS_PO2 and __is_po2drivers/staging/lustre/include/linux/libcfs/libcfs.h+0 -71 reply
5/5staging: lustre: libcfs.h: remove IS_PO2 and __is_po2+0 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchAndreas Dilger
1/5
2/5R-b
3/5R-b
4/5
5/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [lustre-devel] [PATCH v3 0/5] Remove uses and definition of IS_PO2

Concerned with the removal of IS_PO2 by replacing its uses with is_power_of_2 and then removing the definition.

The second version handled warnings indicated by kbuild test robot. The third version handled checkpatch.pl warnings indicated by Sudip Mukherjee.

Aya Mahfouz (5):
staging: lustre: ldlm_extent.c: replace IS_PO2 by is_power_of_2
staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2
staging: lustre: workitem.c: replace IS_PO2 by is_power_of_2
staging: lustre: selftest.h: replace IS_PO2 by is_power_of_2
staging: lustre: libcfs.h: remove IS_PO2 and __is_po2

 drivers/staging/lustre/include/linux/libcfs/libcfs.h | 7 -------
 drivers/staging/lustre/lnet/selftest/selftest.h      | 2 +-
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c     | 2 +-
 drivers/staging/lustre/lustre/libcfs/hash.c          | 3 ++-
 drivers/staging/lustre/lustre/libcfs/workitem.c      | 2 +-
 5 files changed, 5 insertions(+), 11 deletions(-)
Signature · 6 lines
2.4.2


-- 
Kind Regards,
Aya Saif El-yazal Mahfouz