summaryrefslogtreecommitdiff
path: root/scripts/Kconfiglib
diff options
context:
space:
mode:
authorHimanshu Chauhan <[email protected]>2026-05-21 10:58:38 +0530
committerAnup Patel <[email protected]>2026-05-22 10:31:39 +0530
commite92c8fd0836eaaea8e2e0126bd09ac16c24beee0 (patch)
treec211f6afe8870b9cfba6c4a6056238621f9492ee /scripts/Kconfiglib
parentf36acaeb80a490339923a5ec01ac3707741f6b90 (diff)
sbi: mpxy: define INVALID_ADDR using unsigned long width
INVALID_ADDR is used as an all-ones physical address sentinel. Using -1U only guarantees 32-bit width, so on platforms where unsigned long is wider it may not expand to all ones after assignment. Use -1UL so the conversion to unsigned long preserves an all-ones bit pattern across supported widths. Fixes: 7939bf1329eb ("lib: sbi: Add SBI Message Proxy (MPXY) framework") Signed-off-by: Himanshu Chauhan <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts/Kconfiglib')
0 files changed, 0 insertions, 0 deletions