acrn-hypervisor/hypervisor/lib
Shiqing Gao f0fe17de96 hv: sprintf: fix 'Declaration does not specify an array'
The array size of upper_hex_digits and lower_hex_digits are same and
constant.
Use an array rather than a pointer to fix the violation - 'Declaration
does not specify an array'

v3 -> v4:
 * Update the array size of 'digits'
 * Update the usage of 'digits'

v2 -> v3:
 * Update the usage of 'digits'

v1 -> v2:
 * Define a MACRO for the array size of 'digits'
 * Simplify the declaration of 'digits'

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-07-16 15:48:18 +08:00
..
crypto HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
div.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
mdelay.c HV: Moving operators out from conditions 2018-07-09 13:10:34 +08:00
memory.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
spinlock.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
sprintf.c hv: sprintf: fix 'Declaration does not specify an array' 2018-07-16 15:48:18 +08:00
string.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
udelay.c HV: add the missing brackets to loop body 2018-07-12 17:27:29 +08:00