Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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
Author Bryan Chan Committer Tony Luck Date (Sep 23, 2026, 4:22 PM UTC) Commit
Copy SHA
Parent f0d8c34b f0d8c34b3b5e845113581d7d3b24ddaa61bce1f0