Skip to content

Commit e0e6f9b

Browse files
drm/nouveau/therm: 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 f49efb1 commit e0e6f9b

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ pwm_info(struct nvkm_therm *therm, int line)
4141
default:
4242
break;
4343
}
44+
break;
4445
default:
4546
break;
4647
}

0 commit comments

Comments
 (0)