diff options
| author | 2026-01-30 13:21:13 +0530 | |
|---|---|---|
| committer | 2026-02-07 14:20:51 +0100 | |
| commit | 17d2ff404153a616b4b9426a46021c199fe69568 (patch) | |
| tree | 6caec0525c698fa810a0685e0cf4b706285d3ee5 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | staging: rtl8723bs: fix potential race in expire_timeout_chk (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 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
