|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH] xen/evtchn: address violations of MISRA C:2012 Rules 16.3 and 16.4
On 11/03/24 08:40, Jan Beulich wrote: On 08.03.2024 12:51, Federico Serafini wrote:--- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -130,9 +130,12 @@ static bool virq_is_global(unsigned int virq)case VIRQ_ARCH_0 ... VIRQ_ARCH_7: No reason in particular. If preferred, I can move it too.
Both you and Stefano reviewed the code and agreed on the fact that doing nothing for the default case is the right thing and now the code explicitly says that without letting any doubts. Furthermore, during the reviews it could happen that you notice a switch where something needs to be done for the default case. -- Federico Serafini, M.Sc. Software Engineer, BUGSENG (http://bugseng.com)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |