forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/infiniband/hw/hfi1/qsfp.c
....@@ -231,7 +231,7 @@
231231 break;
232232 case 2:
233233 offset_bytes[1] = (offset >> 8) & 0xff;
234
- /* fall through */
234
+ fallthrough;
235235 case 1:
236236 num_msgs = 2;
237237 offset_bytes[0] = offset & 0xff;
....@@ -279,7 +279,7 @@
279279 break;
280280 case 2:
281281 offset_bytes[1] = (offset >> 8) & 0xff;
282
- /* fall through */
282
+ fallthrough;
283283 case 1:
284284 num_msgs = 2;
285285 offset_bytes[0] = offset & 0xff;