lkml.org 
[lkml]   [2020]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] mm: Use fallthrough;
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?

-ss

\
 
 \ /
  Last update: 2020-03-08 04:17    [W:0.053 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site