summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorArchit Anant <architanant5@gmail.com>2026-01-30 13:21:13 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-07 14:20:51 +0100
commit17d2ff404153a616b4b9426a46021c199fe69568 (patch)
tree6caec0525c698fa810a0685e0cf4b706285d3ee5 /rust/alloc/collections/git@git.tavy.me:linux.git
parent02df7c635bd3463abcd92414e32a2cb906089e72 (diff)
staging: rtl8723bs: use unaligned access macros in rtw_security.c
The driver defines custom functions secmicgetuint32() and secmicputuint32() to handle little-endian byte-to-integer conversion. This is redundant as the kernel provides optimized standard macros for this purpose in <linux/unaligned.h>. Replace the custom implementations with get_unaligned_le32() and put_unaligned_le32() and delete the now-unused local functions. Signed-off-by: Archit Anant <architanant5@gmail.com> Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com> Link: https://patch.msgid.link/20260130075113.34666-1-architanant5@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions