[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/36] xsm/flask: missing breaks, MISRA rule 16.4


  • To: dmukhin@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 27 Nov 2024 09:35:10 -0500
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1732718113; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=P1He0xBsfX60X496o0JraSR1u0b5+Q6FTJSFfCG0i/s=; b=KFbLYoOr8Pi+URbomTKaw7P5VWlNS7fLhtD7RCMOITc0CqCsgh7IjwRIxMwSL0XpMnWz8agSaQBdXzUK3kSUgByljUi0tjQUUtzTZvgxtH0uSBNVFcRPaF3BelNwOe5cMb+tWXgpEZL0YuxlCMEvgeWgjsvWttp9wyB8s5oqI2U=
  • Arc-seal: i=1; a=rsa-sha256; t=1732718113; cv=none; d=zohomail.com; s=zohoarc; b=Ki3jTayrnCamit8rGkvav2J3iKdxGrHxJ1EBSwMLAM1FvVYjzWIZPCq8lvxyojmgCrCNVFyfiJndwnqnEyiYvqy1NEJObhgbydatx2ePx/Z+tNAr+oR3Lwiv0SWmhtSZiRH3prACp4clUqGk4WsgNkhCIPwnLpWqwIwahTLuVlU=
  • Delivery-date: Wed, 27 Nov 2024 14:35:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 11/26/24 18:21, Denis Mukhin via B4 Relay wrote:
From: Denis Mukhin <dmukhin@xxxxxxxx>

While working on console forwarding for virtual NS8250 I stepped into
   flask_domain_alloc_security()
where break statement was missing in default case which violates MISRA
rule 16.4.

Fixed everywhere in hooks.c.

Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>

Acked-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.