forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c
....@@ -119,11 +119,11 @@
119119
120120 switch (reg) {
121121 case 0x680520:
122
- shift += 4; /* fall through */
122
+ shift += 4; fallthrough;
123123 case 0x680508:
124
- shift += 4; /* fall through */
124
+ shift += 4; fallthrough;
125125 case 0x680504:
126
- shift += 4; /* fall through */
126
+ shift += 4; fallthrough;
127127 case 0x680500:
128128 shift += 4;
129129 }
....@@ -245,11 +245,11 @@
245245
246246 switch (reg1) {
247247 case 0x680504:
248
- shift_c040 += 2; /* fall through */
248
+ shift_c040 += 2; fallthrough;
249249 case 0x680500:
250
- shift_c040 += 2; /* fall through */
250
+ shift_c040 += 2; fallthrough;
251251 case 0x680520:
252
- shift_c040 += 2; /* fall through */
252
+ shift_c040 += 2; fallthrough;
253253 case 0x680508:
254254 shift_c040 += 2;
255255 }