On Tue, 24 Oct 2023, Bertrand Marquis wrote: > Hi Julien, > > > On 23 Oct 2023, at 19:52, Julien Grall <[email protected]> wrote: > > > > From: Julien Grall <[email protected]> > > > > The 'break' the XEN_DOMCTL_set_address_size is unreachable and tools > > like Eclair will report as a violation of Misra Rule 2.1. > > > > Furthermore, the nested switch is not very easy to read. So move > > out the nested switch in a separate function to improve the > > readability and hopefully address the MISRA violation. > > > > Reported-by: Nicola Vetrini <[email protected]> > > Signed-off-by: Julien Grall <[email protected]> > > Reviewed-by: Bertrand Marquis <[email protected]>
I added the patch to my for-4.19 branch
