diff options
| author | Ivy Lopez <skunkolee@gmail.com> | 2026-09-01 19:48:32 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-07 18:19:19 +0200 |
| commit | ee84a0bf829a20ee7762266f972b3a7eb22b4c6b (patch) | |
| tree | 2586dd2e14c9ae6f291ccf4fbe1afe35dab04405 /tools/perf/scripts/python | |
| parent | a1662f473a83773259909450082ccfa9f227b753 (diff) | |
| download | linux-next-ee84a0bf829a20ee7762266f972b3a7eb22b4c6b.tar.gz linux-next-ee84a0bf829a20ee7762266f972b3a7eb22b4c6b.zip | |
staging: rtl8723bs: define EEPROM_DEFAULT_DIFF as -2 directly
EEPROM_DEFAULT_DIFF is defined as the bare integer literal 0xFE
(254) but is only ever assigned into s8 (signed char) fields used
to store signed TX power calibration offsets. The value -2 is the
intended default offset; expressing it as -2 directly instead of
0xFE avoids relying on implicit truncation of an unsigned-looking
hex literal into a signed field.
No functional change.
Signed-off-by: Ivy Lopez <skunkolee@gmail.com>
Link: https://patch.msgid.link/20260902014832.17625-1-skunkolee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
