diff options
| author | Pranav Desai <contact.pranavdesai@gmail.com> | 2026-10-07 17:23:39 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 15:33:53 +0200 |
| commit | 59ffe9fef1b166e9152f7862819dd4d8710f8bf5 (patch) | |
| tree | b52eb83839b93605f1a23ea0d43522b048cc5d6b /tools/lib/python/kdoc/python_version.py | |
| parent | 4751a8a7f9a509ddbeb533ceb9138fc6ea585cb1 (diff) | |
staging: rtl8723bs: use u8 for frame types in rtw_security.c
Replace 'uint' with 'u8' for the 'frtype' and 'frsubtype' variables
in rtw_security.c.
These variables are populated by the GetFrameType() and GetFrameSubType()
macros, which read a 16-bit value but apply a bitwise mask (bits 2-3 for
type, bits 2-7 for subtype). Because the highest possible value after
masking is 252, these variables are guaranteed to fit within an 8-bit
unsigned integer.
Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com>
Link: https://patch.msgid.link/20261007115342.1121742-4-contact.pranavdesai@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
