diff options
author | dramforever <dramforever@live.com> | 2022-07-28 00:30:05 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-07-30 11:55:51 +0530 |
commit | b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3 (patch) | |
tree | cc9cec44efc70acdbbe945e3502a8f1da2fb2a52 /scripts/Kconfiglib/savedefconfig.py | |
parent | f27203525aa2fc20d0074feb892a6f8433f84e3a (diff) | |
download | opensbi-b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3.zip opensbi-b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3.tar.gz opensbi-b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3.tar.bz2 |
lib: sbi: Fix printf handling of long long
Read long long arguments directly using va_arg. Remove original hack for
RV32 that read a long long arg as two long args.
This un-breaks the case on RV64 where e.g. the long long is followed by
an odd number of ints:
sbi_printf("%d %lld", (int) 1, (long long) 2LL);
Also remove the acnt variable, which is now unused.
Signed-off-by: dramforever <dramforever@live.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/Kconfiglib/savedefconfig.py')
0 files changed, 0 insertions, 0 deletions