diff options
| author | Pranav Desai <contact.pranavdesai@gmail.com> | 2026-10-07 17:23:40 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 15:33:54 +0200 |
| commit | 5c3a64105d2ff21f77b3735a3427259d43a3847b (patch) | |
| tree | 2b010e3581046ab6e7bf7d76638e1fb2f057150e /tools/lib/python/kdoc/python_version.py | |
| parent | 59ffe9fef1b166e9152f7862819dd4d8710f8bf5 (diff) | |
staging: rtl8723bs: use explicit types for math variables and iterators
Replace 'uint' with explicit types for variables used in math operations
and loops inside the aes_cipher() and aes_decipher() functions:
- Change 'payload_remainder' to u8 because it is calculated as (plen % 16),
which guarantees a range of 0-15.
- Change 'payload_index' to u32 because it indexes into the payload, which
is bounded by plen (u32).
- Change 'num_blocks' to u32 since it is derived from 'plen' (u32).
- Change loop iterators (i, j) to standard 'unsigned int'.
Signed-off-by: Pranav Desai <contact.pranavdesai@gmail.com>
Link: https://patch.msgid.link/20261007115342.1121742-5-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
