zsmalloc: fix fall-through annotation
Subsystems (2)
PATCH 1/1 zsmalloc: fix fall-through annotation
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- mm/zsmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/zsmalloc.c +1 -1
@@ -418,7 +418,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 :/* fallthru */ +case ZPOOL_MM_RW :/* fall through */ default : zs_mm =ZS_MM_RW ;break ;
Signature · 1 line
2.7.4
Quoted 4 lines · Gustavo A. R. Silva
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Hmm, comments as annotations?
Quoted 1 line
Signed-off-by Gustavo A. R. Silva <[email protected]>
Reviewed-by Sergey Senozhatsky <[email protected]>
-ss
Sergey Senozhatsky
Reviewed-byOh, Cc-ing Andrew
message id: lkml.kernel.org/r/[email protected]
---
Quoted 5 lines · Sergey Senozhatsky
On (10/03/18 12:51), Gustavo A. R. Silva wrote:
Replace "fallthru" with a proper "fall through" annotation.This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough
Hmm, comments as annotations?
Quoted 1 line
Signed-off-by Gustavo A. R. Silva <[email protected]>
Reviewed-by Sergey Senozhatsky <[email protected]>