From: Wei Liu Subject: Re: [PATCH] tools/Coverity: Audit of MISSING_BREAK defects Date: Fri, 13 Feb 2015 10:38:39 +0000 Message-ID: <20150213103839.GL13644@zion.uk.xensource.com> References: <1423771713-11775-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1423771713-11775-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen Coverity Team , Xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, Feb 12, 2015 at 08:08:33PM +0000, Andrew Cooper wrote: > Coverity uses several heuristics to identify when one case statement > legitimately falls through into the next, and a comment as the final item in a > case statement is one heuristic (the assumption being that it is a > justification for the fallthrough). > > Use this to perform an audit of defects and hide the legitimate fallthroughs. > > There are two bugfixes identified in the audit, both minor: > * 'n' command line handling for gtracestat > * BKSPC handling in xentop > > All other identified defaults are legitimate fallthoughs > > Signed-off-by: Andrew Cooper > Coverity-IDs: 1055464, 1055465, 1055467, 1055468, 1055481, 1055482 > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > CC: Xen Coverity Team Acked-by: Wei Liu