lib: sbi_scratch: Optimize the alignment code for alloc size
authorXiang W <wxjstz@126.com>
Thu, 9 Mar 2023 10:35:28 +0000 (18:35 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Apr 2023 10:30:45 +0000 (16:00 +0530)
commited88a63b90249c570c7f1f123e979f6f5faf657a
treed1753abce580edffdd34f3a0ed72d39c30bfc6a9
parentc6a092cd80112529cb2e92e180767ff5341b22a3
lib: sbi_scratch: Optimize the alignment code for alloc size

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_scratch.c