diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-06-21 21:37:54 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-06-22 19:14:30 +0530 |
commit | 99017946f36525c0689d287fbad21426575944c4 (patch) | |
tree | 3f66f48908df9ff9952ca13c44c4d25e334b7024 /lib/sbi/sbi_fifo.c | |
parent | cdcf907b1989c8816bf67bf078780b6353a516ce (diff) |
lib: sign conflict in wake_coldboot_harts()
Compiling wake_coldboot_harts() with GCC 11 and -Wextra yields:
lib/sbi/sbi_init.c:208:27:
error: comparison of integer expressions of different signedness:
‘int’ and ‘u32’ {aka ‘unsigned int’} [-Werror=sign-compare]
208 | for (int i = 0; i <= sbi_scratch_last_hartid(); i++) {
| ^~
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'lib/sbi/sbi_fifo.c')
0 files changed, 0 insertions, 0 deletions