linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] staging: r8188eu: use round_up()
@ 2022-04-07 12:57 Michael Straube
  2022-04-07 12:57 ` [PATCH v3 1/5] staging: r8188eu: use PTR_ALIGN() instead of RND4() Michael Straube
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael Straube @ 2022-04-07 12:57 UTC (permalink / raw)
  To: gregkh; +Cc: Larry.Finger, phil, linux-staging, linux-kernel, Michael Straube

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-07 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-07 12:57 [PATCH v3 0/5] staging: r8188eu: use round_up() Michael Straube
2022-04-07 12:57 ` [PATCH v3 1/5] staging: r8188eu: use PTR_ALIGN() instead of RND4() Michael Straube
2022-04-07 12:57 ` [PATCH v3 2/5] staging: r8188eu: use round_up() instead of _RND4() Michael Straube
2022-04-07 12:57 ` [PATCH v3 3/5] staging: r8188eu: use round_up() instead of _RND8() Michael Straube
2022-04-07 12:57 ` [PATCH v3 4/5] staging: r8188eu: use round_up() instead of _RND128() Michael Straube
2022-04-07 12:57 ` [PATCH v3 5/5] staging: r8188eu: remove unused _RND* from osdep_service.h Michael Straube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).