Skip to content

Commit 0850bf2

Browse files
drm/nouveau/clk: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent e0e6f9b commit 0850bf2

File tree

1 file changed

+1
-0
lines changed
  • drivers/gpu/drm/nouveau/nvkm/subdev/clk

1 file changed

+1
-0
lines changed

drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ nv50_clk_read(struct nvkm_clk *base, enum nv_clk_src src)
313313
default:
314314
break;
315315
}
316+
break;
316317
default:
317318
break;
318319
}

0 commit comments

Comments
 (0)