[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 7/9] x86/hvm: address violations of MISRA C:2012 Rule 11.8
On Thu, 14 Dec 2023, Simone Ballarin wrote: > From: Maria Celeste Cesario <maria.celeste.cesario@xxxxxxxxxxx> > > 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". > > Remove unnecessary cast. > from is a const-qualified pointer to void and the function > hvm_copy_to_guest_linear > requires a const void* type argument, therefore the cast to void* is not > necessary. > > No functional change. > > Signed-off-by: Maria Celeste Cesario <maria.celeste.cesario@xxxxxxxxxxx> > Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |