hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/ufs/util.h
....@@ -42,7 +42,7 @@
4242 case UFS_ST_SUNOS:
4343 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT)
4444 return fs32_to_cpu(sb, usb1->fs_u0.fs_sun.fs_state);
45
- /* Fall Through to UFS_ST_SUN */
45
+ fallthrough; /* to UFS_ST_SUN */
4646 case UFS_ST_SUN:
4747 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state);
4848 case UFS_ST_SUNx86:
....@@ -63,7 +63,7 @@
6363 usb1->fs_u0.fs_sun.fs_state = cpu_to_fs32(sb, value);
6464 break;
6565 }
66
- /* Fall Through to UFS_ST_SUN */
66
+ fallthrough; /* to UFS_ST_SUN */
6767 case UFS_ST_SUN:
6868 usb3->fs_un2.fs_sun.fs_state = cpu_to_fs32(sb, value);
6969 break;
....@@ -197,7 +197,7 @@
197197 case UFS_UID_EFT:
198198 if (inode->ui_u1.oldids.ui_suid == 0xFFFF)
199199 return fs32_to_cpu(sb, inode->ui_u3.ui_sun.ui_uid);
200
- /* Fall through */
200
+ fallthrough;
201201 default:
202202 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_suid);
203203 }
....@@ -215,7 +215,7 @@
215215 inode->ui_u3.ui_sun.ui_uid = cpu_to_fs32(sb, value);
216216 if (value > 0xFFFF)
217217 value = 0xFFFF;
218
- /* Fall through */
218
+ fallthrough;
219219 default:
220220 inode->ui_u1.oldids.ui_suid = cpu_to_fs16(sb, value);
221221 break;
....@@ -231,7 +231,7 @@
231231 case UFS_UID_EFT:
232232 if (inode->ui_u1.oldids.ui_sgid == 0xFFFF)
233233 return fs32_to_cpu(sb, inode->ui_u3.ui_sun.ui_gid);
234
- /* Fall through */
234
+ fallthrough;
235235 default:
236236 return fs16_to_cpu(sb, inode->ui_u1.oldids.ui_sgid);
237237 }
....@@ -249,7 +249,7 @@
249249 inode->ui_u3.ui_sun.ui_gid = cpu_to_fs32(sb, value);
250250 if (value > 0xFFFF)
251251 value = 0xFFFF;
252
- /* Fall through */
252
+ fallthrough;
253253 default:
254254 inode->ui_u1.oldids.ui_sgid = cpu_to_fs16(sb, value);
255255 break;