hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/ceph/ceph_hash.c
....@@ -4,7 +4,7 @@
44
55 /*
66 * Robert Jenkin's hash function.
7
- * http://burtleburtle.net/bob/hash/evahash.html
7
+ * https://burtleburtle.net/bob/hash/evahash.html
88 * This is in the public domain.
99 */
1010 #define mix(a, b, c) \
....@@ -50,35 +50,35 @@
5050 switch (len) {
5151 case 11:
5252 c = c + ((__u32)k[10] << 24);
53
- /* fall through */
53
+ fallthrough;
5454 case 10:
5555 c = c + ((__u32)k[9] << 16);
56
- /* fall through */
56
+ fallthrough;
5757 case 9:
5858 c = c + ((__u32)k[8] << 8);
5959 /* the first byte of c is reserved for the length */
60
- /* fall through */
60
+ fallthrough;
6161 case 8:
6262 b = b + ((__u32)k[7] << 24);
63
- /* fall through */
63
+ fallthrough;
6464 case 7:
6565 b = b + ((__u32)k[6] << 16);
66
- /* fall through */
66
+ fallthrough;
6767 case 6:
6868 b = b + ((__u32)k[5] << 8);
69
- /* fall through */
69
+ fallthrough;
7070 case 5:
7171 b = b + k[4];
72
- /* fall through */
72
+ fallthrough;
7373 case 4:
7474 a = a + ((__u32)k[3] << 24);
75
- /* fall through */
75
+ fallthrough;
7676 case 3:
7777 a = a + ((__u32)k[2] << 16);
78
- /* fall through */
78
+ fallthrough;
7979 case 2:
8080 a = a + ((__u32)k[1] << 8);
81
- /* fall through */
81
+ fallthrough;
8282 case 1:
8383 a = a + k[0];
8484 /* case 0: nothing left to add */