On 19.07.2023 14:24, Andrew Cooper wrote:
> The work to fix MISRA rule 7.4 (using mutable pointers to string literals)
> identifies that string literals do indeed get passed into
> hvm_copy_to_guest_linear() by way of the PVH dom0 command line.
> 
> This higlights that the copy_to_* helpers really ought to take a const
> source.  Update the function types to match, and cast away constness in the
> wrappers around __hvm_copy() where HVMCOPY_to_guest is used.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <[email protected]>

Well, yes, what do you do.

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

Jan

Reply via email to