staging: r8188eu: use PTR_ALIGN() instead of RND4()
authorMichael Straube <straube.linux@gmail.com>
Thu, 7 Apr 2022 12:57:38 +0000 (14:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Apr 2022 17:45:27 +0000 (19:45 +0200)
commit727841e02b65b36505fde45ec4983ed1291e1729
tree1684e37a376c5de474cdf84b6edcf6c61c4d61c8
parentf8525b9763c61f54d1abdcce2821468dc416cda1
staging: r8188eu: use PTR_ALIGN() instead of RND4()

Use in-kernel PTR_ALIGN() instead of custom RND4().

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220407125742.7814-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_security.c
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c
drivers/staging/r8188eu/include/osdep_service.h