diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-09 06:52:42 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-10 08:08:08 +0300 |
commit | 078686d75c929af72971bb51115438e3a2826896 (patch) | |
tree | cc94b01fc76f140e5a2777e78974d54a128c2673 /lib/utils/serial/sifive-uart.c | |
parent | 650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8 (diff) | |
download | opensbi-078686d75c929af72971bb51115438e3a2826896.tar.xz |
lib: serial: Fix coding style issues
This fixes various coding style issues found in the serial codes.
No functional changes.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/utils/serial/sifive-uart.c')
-rw-r--r-- | lib/utils/serial/sifive-uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/serial/sifive-uart.c b/lib/utils/serial/sifive-uart.c index fd6f28d..b82a1b3 100644 --- a/lib/utils/serial/sifive-uart.c +++ b/lib/utils/serial/sifive-uart.c @@ -48,7 +48,7 @@ static inline unsigned int uart_min_clk_divisor(uint64_t in_freq, uint64_t max_target_hz) { uint64_t quotient = (in_freq + max_target_hz - 1) / (max_target_hz); - // Avoid underflow + /* Avoid underflow */ if (quotient == 0) { return 0; } else { |