summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLeonardo Martins Martins <dev.lmmrtns@gmail.com>2026-08-13 21:25:52 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-01 12:02:27 +0200
commitaf6a71fe8af6ae92523013fcf42ff5aa762cc883 (patch)
tree353e951d8b6ef84fa1117406b59829bb320ce282 /scripts/Makefile.thinlto
parent7b20549460061172261bee02731f00c02f0e3b16 (diff)
downloadlinux-next-af6a71fe8af6ae92523013fcf42ff5aa762cc883.tar.gz
linux-next-af6a71fe8af6ae92523013fcf42ff5aa762cc883.zip
staging: rtl8723bs: replace N_BYTE_ALIGMENT() with PTR_ALIGN()
The macro N_BYTE_ALIGMENT() uses integer division and multiplication to perform byte alignment, with a result equivalent to the standard kernel macro ALIGN() which uses bitwise operations instead. The usages of this macro involve casting the pointer to SIZE_PTR and casting the returned value back, which is the same pattern that PTR_ALIGN() uses, by replacing it with PTR_ALIGN() the manual castings to SIZE_PTR and (u8 *) can be dropped, improving readability. Compile tested only. Signed-off-by: Leonardo Martins Martins <dev.lmmrtns@gmail.com> Link: https://patch.msgid.link/20260813-staging-testing-v1-1-8baa7c210474@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions