[Drbd-dev] [PATCH 0/2] drbd: Make use of PFN_UP helper macro

Cai Huoqing caihuoqing at baidu.com
Mon Aug 2 10:00:21 CEST 2021


it's a nice refactor to make use of PFN_UP helper macro.
when run checkpath.pl for the first patch, found that
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'.
so fix it. BTW

Cai Huoqing (2):
  drbd: Make use of PFN_UP helper macro
  drbd: Replace "unsigned" with "unsigned int"

 drivers/block/drbd/drbd_bitmap.c   | 2 +-
 drivers/block/drbd/drbd_receiver.c | 8 ++++----
 drivers/block/drbd/drbd_worker.c   | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

-- 
2.25.1



More information about the drbd-dev mailing list