mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-09 08:13:35 +00:00
hv: fix 'Space missing before or after binary operator'
This patch adds the necessary space before or after binary operator. v1 -> v2: * minor fix related to integer [i - 1] ====> [i - 1U] Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
This commit is contained in:
@@ -267,8 +267,7 @@ static void print_pow2(struct print_param *param,
|
||||
mask = (1UL << shift) - 1UL;
|
||||
|
||||
/* determine digit translation table */
|
||||
digits = ((param->vars.flags & PRINT_FLAG_UPPER) != 0U) ?
|
||||
&upper_hex_digits : &lower_hex_digits;
|
||||
digits = ((param->vars.flags & PRINT_FLAG_UPPER) != 0U) ? &upper_hex_digits : &lower_hex_digits;
|
||||
|
||||
/* apply mask for short/char */
|
||||
v &= param->vars.mask;
|
||||
|
Reference in New Issue
Block a user