diff options
| author | Bin Meng <[email protected]> | 2023-02-24 12:28:25 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-02-27 12:26:26 +0530 |
| commit | 5a75f5309c7544bbf7ef021bdeee0b0455af6d9b (patch) | |
| tree | 0bdefd613c1a62b491bb46dc9622df339b7dc914 /lib | |
| parent | 67b2a408924b466dcd659c70348043987401f0b1 (diff) | |
lib: sbi/sbi_domain: cosmetic style fixes
Minor updates to the comments for language and style fixes.
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sbi/sbi_domain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbi/sbi_domain.c b/lib/sbi/sbi_domain.c index dc825b0d..d2f58a28 100644 --- a/lib/sbi/sbi_domain.c +++ b/lib/sbi/sbi_domain.c @@ -337,7 +337,7 @@ static int sanitize_domain(const struct sbi_platform *plat, /* * Check next mode * - * We only allow next mode to be S-mode or U-mode.so that we can + * We only allow next mode to be S-mode or U-mode, so that we can * protect M-mode context and enforce checks on memory accesses. */ if (dom->next_mode != PRV_S && @@ -347,7 +347,7 @@ static int sanitize_domain(const struct sbi_platform *plat, return SBI_EINVAL; } - /* Check next address and next mode*/ + /* Check next address and next mode */ if (!sbi_domain_check_addr(dom, dom->next_addr, dom->next_mode, SBI_DOMAIN_EXECUTE)) { sbi_printf("%s: %s next booting stage address 0x%lx can't " |
