diff options
| author | Bryan Chan <bchimhim15@gmail.com> | 2026-09-23 00:18:53 +0100 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2026-09-23 09:22:38 -0700 |
| commit | cfc77cf89fa9cf29474fb90c02e44a4c546e5378 (patch) | |
| tree | 54ba13809da10718522370b1097ada85250edc2c /tools/perf/scripts/python | |
| parent | f0d8c34b3b5e845113581d7d3b24ddaa61bce1f0 (diff) | |
EDAC/skx_base: Fix ambiguous bitwise and logical operator style
The code works fine and works how it should be, the fix is just for
uniformity/consistency of the bitwise operations and to fix a sparse
warning:
drivers/edac/skx_base.c:359:46: warning: dubious: x | !y
lchan here is always 0 or 1 here, replace the inconsistent logical operator
by xor operation. This removes the sparse warning and makes the switch case
easier to read.
[Tony: updated commit grammar and s/compiler warning/sparse warning/]
Signed-off-by: Bryan Chan <bchimhim15@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20260922231854.108188-1-bchimhim15@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
