[PATCH v3 0/5] staging: r8188eu: use round_up()

Michael Straube posted 5 patches 4 years, 1 month ago
drivers/staging/r8188eu/core/rtw_cmd.c        |  2 +-
drivers/staging/r8188eu/core/rtw_security.c   |  6 +--
drivers/staging/r8188eu/core/rtw_xmit.c       |  7 +--
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c  |  8 ++--
drivers/staging/r8188eu/hal/usb_ops_linux.c   |  2 +-
.../staging/r8188eu/include/osdep_service.h   | 43 -------------------
6 files changed, 11 insertions(+), 57 deletions(-)
[PATCH v3 0/5] staging: r8188eu: use round_up()
Posted by Michael Straube 4 years, 1 month ago
This series converts the driver to use the in-kernel round_up()
and PTR_ALIGN() instead of custom _RND* implementations.

Tested on x86_64 with Inter-Tech DMG-02.

v3:
just remove _RND8 in one case

v2:
use PTR_ALIGN in patch 1/5

Michael Straube (5):
  staging: r8188eu: use PTR_ALIGN() instead of RND4()
  staging: r8188eu: use round_up() instead of _RND4()
  staging: r8188eu: use round_up() instead of _RND8()
  staging: r8188eu: use round_up() instead of _RND128()
  staging: r8188eu: remove unused _RND* from osdep_service.h

 drivers/staging/r8188eu/core/rtw_cmd.c        |  2 +-
 drivers/staging/r8188eu/core/rtw_security.c   |  6 +--
 drivers/staging/r8188eu/core/rtw_xmit.c       |  7 +--
 drivers/staging/r8188eu/hal/rtl8188eu_xmit.c  |  8 ++--
 drivers/staging/r8188eu/hal/usb_ops_linux.c   |  2 +-
 .../staging/r8188eu/include/osdep_service.h   | 43 -------------------
 6 files changed, 11 insertions(+), 57 deletions(-)

-- 
2.35.1