summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordramforever <[email protected]>2022-07-28 00:30:05 +0800
committerAnup Patel <[email protected]>2022-07-30 11:55:51 +0530
commitb9edf49b67a1b5e47b1c35dcd7c75efccaf22ea3 (patch)
treecc9cec44efc70acdbbe945e3502a8f1da2fb2a52 /scripts
parentf27203525aa2fc20d0074feb892a6f8433f84e3a (diff)
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 <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions