mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-27 18:37:40 +00:00
To prevent the value is devided by zero, checks the denominator before the calculation. Adding the if statement to check before use. If the baud_rate is equal to zero, using default baud_rate. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com>
7.6 KiB
7.6 KiB