Skip to contentSkip to conversation

+ lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 18, 2014 Xz embedded

lore
Share & tools
lore
#0 lore raw

Subject: + lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Fri, 18 Apr 2014 12:58:10 -0700

The patch titled
Subject: lib/xz: add comments for the intentionally missing break statements
has been added to the -mm tree. Its filename is
lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Lasse Collin <[email protected]>
Subject: lib/xz: add comments for the intentionally missing break statements

---

 lib/xz/xz_dec_lzma2.c |    4 ++++
 1 file changed, 4 insertions(+)
lib/xz/xz_dec_lzma2.c renamed from lib/xz/xz_dec_lzma2.c~lib-xz-add-comments-for-the-intentionally-missing-break-statements +4 -0
diff -puN lib/xz/xz_dec_lzma2.c~lib-xz-add-comments-for-the-intentionally-missing-break-statements lib/xz/xz_dec_lzma2.c
@@ -1043,6 +1043,8 @@ XZ_EXTERN enum xz_ret xz_dec_lzma2_run(s
 
 			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 xz_dec_lzma2_run(s
 			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

_

Patches currently in -mm which might be from [email protected] are

lib-xz-add-comments-for-the-intentionally-missing-break-statements.patch lib-xz-enable-all-filters-by-default-in-kconfig.patch