Files
scoutfs/kmod/src
Auke Kok 2f48a606e8 Fix -Wmaybe-uninitalized since rhel9.5
Looks like the compiler isn't smart enough to understand the pass by
pointer value, and we can initialize it here easily.

make[1]: Entering directory '/usr/src/kernels/5.14.0-503.26.1.el9_5.x86_64'
  CC [M]  /home/auke/scoutfs/kmod/src/server.o
/home/auke/scoutfs/kmod/src/server.c: In function ‘fence_pending_recov_worker’:
/home/auke/scoutfs/kmod/src/server.c:4170:23: error: ‘addr.v4.addr’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 4170 |                 ret = scoutfs_fence_start(sb, rid, le32_to_be32(addr.v4.addr),
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4171 |                                           SCOUTFS_FENCE_CLIENT_RECOVERY);
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

There's still the obvious issue here that we'd intended to support ipv6
but just disregard that here.

Signed-off-by: Auke Kok <auke.kok@versity.com>
2025-05-08 15:20:50 -07:00
..
2024-06-28 15:09:05 -07:00
2024-10-03 12:41:05 -07:00
2024-10-03 12:41:05 -07:00
2024-10-03 12:41:05 -07:00
2022-10-14 14:03:35 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 14:53:49 -07:00
2020-08-26 14:39:12 -07:00
2022-12-12 14:59:22 -08:00
2024-01-25 11:30:17 -08:00
2024-01-25 11:30:17 -08:00
2018-04-04 09:15:27 -05:00
2017-12-20 12:21:13 -08:00
2024-06-25 15:11:20 -07:00
2023-06-14 14:12:10 -07:00
2018-01-26 11:59:47 -08:00
2021-08-24 09:11:40 -07:00
2021-08-24 09:11:40 -07:00
2024-10-03 12:41:05 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 15:09:05 -07:00
2020-10-29 14:15:33 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 14:53:49 -07:00
2024-10-03 12:41:05 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 15:09:05 -07:00
2019-08-20 15:52:13 -07:00
2021-08-24 09:12:20 -07:00
2022-07-06 15:16:19 -07:00
2022-03-11 15:28:58 -08:00
2024-01-25 11:25:56 -08:00
2019-05-21 11:33:26 -07:00
2019-05-21 11:33:26 -07:00
2022-12-12 14:59:22 -08:00
2024-06-28 15:09:05 -07:00
2025-01-23 14:28:40 -05:00
2020-10-29 14:15:33 -07:00
2020-10-29 14:15:33 -07:00
2020-11-30 13:35:44 -08:00
2019-04-12 10:54:07 -07:00
2024-10-03 12:41:05 -07:00
2021-07-07 14:13:14 -07:00
2024-10-03 12:41:05 -07:00
2018-07-27 09:50:21 -07:00
2024-06-28 15:09:05 -07:00
2024-06-28 15:09:05 -07:00