Skip to contentSkip to conversation

Use macro DIV_ROUND_UP

PATCH Superseded Bhaktipriya Shridhar 1 participant 1 message Feb 22, 2016

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Use macro DIV_ROUND_UP

This patchset replaces occurences of (((n) + (d) - 1) /(d)) with the kernel.h macro DIV_ROUND_UP.

Bhaktipriya Shridhar (4):
staging: rtl8723au: hal: Use macro DIV_ROUND_UP
staging: rtl8192e: Prefer using macro DIV_ROUND_UP
staging: most: hdm-usb: Use macro DIV_ROUND_UP
staging: most: hdm-dim2: Use macro DIV_ROUND_UP

 drivers/staging/most/hdm-dim2/dim2_hal.c     | 4 ++--
 drivers/staging/most/hdm-usb/hdm_usb.c       | 3 +--
 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 4 ++--
 drivers/staging/rtl8723au/hal/usb_halinit.c  | 3 +--
 4 files changed, 6 insertions(+), 8 deletions(-)

--
2.1.4