|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 12/12] x86/nSVM: address Misra 2.1 rule violation
On Fri, Aug 28, 2026 at 09:06:20AM +0200, Jan Beulich wrote: > The 16-bit range of "port" is fully handled by the switch(). Therefore the > default: case is reported unreachable by Eclair. Insert BUILD_ERROR() to > annotate this for Eclair. > > No functional change. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Roger Pau Monné <roger@xxxxxxxxxxxxxx> That however is a bit weird IMO, as we have usually said we would prefer not to use fixed width types in general, and hence one might argue that port should be unsigned int. Then the BUILD_ERROR() might trigger? Thanks, Roger.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |