From: Joe Perches Subject: Re: [PATCH] mm: Use fallthrough; Date: Sat, 07 Mar 2020 19:19:04 -0800 Message-ID: References: <20200308031634.GA1125@jagdpanzerIV.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20200308031634.GA1125@jagdpanzerIV.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Sergey Senozhatsky Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Vladimir Davydov , Hugh Dickins , Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org On Sun, 2020-03-08 at 12:16 +0900, Sergey Senozhatsky wrote: > On (20/03/06 23:58), Joe Perches wrote: > [..] > > --- a/mm/zsmalloc.c > > +++ b/mm/zsmalloc.c > > @@ -424,7 +424,7 @@ static void *zs_zpool_map(void *pool, unsigned long handle, > > case ZPOOL_MM_WO: > > zs_mm = ZS_MM_WO; > > break; > > - case ZPOOL_MM_RW: /* fall through */ > > + case ZPOOL_MM_RW: > > default: > > zs_mm = ZS_MM_RW; > > break; > > Seems like missing fallthrough; for ZPOOL_MM_RW? Consecutive case labels do not need an interleaving fallthrough