mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
HV: treewide: convert hexadecimals used in bitops to unsigned
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -113,9 +113,9 @@ static int uart16550_set_baud_rate(struct tgt_uart *tgt_uart,
|
||||
|
||||
/* Write the appropriate divisor value */
|
||||
uart16550_write_reg(tgt_uart->base_address,
|
||||
((baud_div >> 8) & 0xFF), DLM_IDX);
|
||||
((baud_div >> 8) & 0xFFU), DLM_IDX);
|
||||
uart16550_write_reg(tgt_uart->base_address,
|
||||
(baud_div & 0xFF), DLL_IDX);
|
||||
(baud_div & 0xFFU), DLL_IDX);
|
||||
|
||||
/* Disable DLL and DLM registers */
|
||||
temp_reg &= ~LCR_DLAB;
|
||||
|
||||
Reference in New Issue
Block a user