diff options
author | dramforever <dramforever@live.com> | 2022-07-27 19:30:05 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-07-30 09:25:51 +0300 |
commit | b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3 (patch) | |
tree | cc9cec44efc70acdbbe945e3502a8f1da2fb2a52 /scripts/Kconfiglib/genconfig.py | |
parent | f27203525aa2fc20d0074feb892a6f8433f84e3a (diff) | |
download | opensbi-b9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3.tar.xz |
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/genconfig.py')
0 files changed, 0 insertions, 0 deletions