From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] common/xz: add comments for the intentionally missing break statements Date: Wed, 4 Feb 2015 16:34:47 +0000 Message-ID: <1423067687.24924.33.camel@citrix.com> References: <54D25209020000780005CF12@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YJ2uj-0006hN-4r for xen-devel@lists.xenproject.org; Wed, 04 Feb 2015 16:34:53 +0000 In-Reply-To: <54D25209020000780005CF12@mail.emea.novell.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: Jan Beulich Cc: xen-devel , Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org On Wed, 2015-02-04 at 16:08 +0000, Jan Beulich wrote: > Signed-off-by: Lasse Collin > [Linux commit 84d517f3e56f7d0d305c14a701cee8f7372ebe1e] > Signed-off-by: Jan Beulich Acked-by: IAn Campbell > > --- a/xen/common/xz/dec_lzma2.c > +++ b/xen/common/xz/dec_lzma2.c > @@ -1043,6 +1043,8 @@ XZ_EXTERN enum xz_ret INIT xz_dec_lzma2_ > > s->lzma2.sequence = SEQ_LZMA_PREPARE; > > + /* Fall through */ > + > case SEQ_LZMA_PREPARE: > if (s->lzma2.compressed < RC_INIT_BYTES) > return XZ_DATA_ERROR; > @@ -1053,6 +1055,8 @@ XZ_EXTERN enum xz_ret INIT xz_dec_lzma2_ > s->lzma2.compressed -= RC_INIT_BYTES; > s->lzma2.sequence = SEQ_LZMA_RUN; > > + /* Fall through */ > + > case SEQ_LZMA_RUN: > /* > * Set dictionary limit to indicate how much we want > > >