| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH 12/12] xen/pci: address a violation of MISRA C Rule 16.3
 On 10/09/24 19:41, Federico Serafini wrote: On 10/09/24 16:59, Jan Beulich wrote:On 10.09.2024 16:57, Jan Beulich wrote:On 10.09.2024 12:09, Federico Serafini wrote:Address violations of MISRA C:2012 Rule 16.3: "An unconditional `break' statement shall terminate every switch-clause".Since in our interpretation "return" is okay too, why is not sufficient tosimply ...--- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c@@ -170,8 +170,10 @@ static int __init cf_check parse_phantom_dev(const char *str) Oh no, sorry, this does not make sense. -- Federico Serafini, M.Sc. Software Engineer, BUGSENG (http://bugseng.com) 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |