Whamcloud - gitweb
LU-16116 build: Configure tests for rhltable, bitmap_alloc... 16/49116/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 Jan 2023 18:20:26 +0000 (10:20 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Mar 2023 06:45:59 +0000 (06:45 +0000)
commit130d7a0e246ab1776efff55fe11c096da1c69ec8
treef5a5f46c3368c789f92a6da0fc4007ca3341e811
parentee4682f80d824436da198937a85deb9f0d107865
LU-16116 build: Configure tests for rhltable, bitmap_alloc...

rhel8.6 with kernel 5.18 breaks a couple of compile tests

struct rhltable test fails with:
... error: ‘hlt’ is used uninitialized in this function
    [-Werror=uninitialized]

rdma_wr() test failes with:
... error: assignment discards ‘const’ qualifier from pointer
    target type [-Werror=discarded-qualifiers]
   wr = rdma_wr(NULL);

nla_strdup() test fails due to unused variable 'tmp'

Lustre-change: https://review.whamcloud.com/48361
Lustre-commit: 009faf132dc47dcfb604b95c93211da7d2c644e2

Test-Parameters: trivial
HPE-bug-id: LUS-11191
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ib2b1d223ac809cea157158fe35fd2535b04367df
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49116
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
lnet/autoconf/lustre-lnet.m4