]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: use PTR_ALIGN for buffer alignment
authorMinu Jin <s9430939@naver.com>
Sun, 28 Dec 2025 14:58:23 +0000 (23:58 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:52:41 +0000 (13:52 +0100)
commit69dc48dc550640b1c33e30f32620fe5ef1b068e9
treecccc0ae4af62b5ab456c7d7d2ac72dea1ebc7e06
parent2e2d0c710cc18dd38521d6b127708b210ecd2e12
staging: rtl8723bs: use PTR_ALIGN for buffer alignment

Replace manual pointer alignment calculation with the standard PTR_ALIGN
macro in rtw_init_cmd_priv()

This improves code readability and ensures the use of kernel's
preferred alignment mechanism instead of manual calculation

Signed-off-by: Minu Jin <s9430939@naver.com>
Link: https://patch.msgid.link/20251228145823.3250174-1-s9430939@naver.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c