On 19.12.2023 12:05, Simone Ballarin wrote:
> From: Maria Celeste Cesario <[email protected]>
> 
> The xen sources contain violations of MISRA C:2012 Rule 11.8 whose
> headline states:
> "A conversion shall not remove any const, volatile or _Atomic qualification
> from the type pointed to by a pointer".
> 
> Change cast type from void* to uintptr_t.
> void* type cast resulted in violation of the Rule, a cast to type uintptr_t
> is more appropriate type-wise.
> 
> Signed-off-by: Maria Celeste Cesario  <[email protected]>
> Signed-off-by: Simone Ballarin  <[email protected]>

Acked-by: Jan Beulich <[email protected]>



Reply via email to