Whamcloud - gitweb
LU-17031 build: fix refefine __compiletime_strlen error 53/51953/2
authorQian Yingjin <qian@ddn.com>
Wed, 16 Aug 2023 02:11:39 +0000 (22:11 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:39:34 +0000 (06:39 +0000)
commitf4c336ad93e5aaefba69999cc123726631b9fe10
tree210f352f702fa1028213cc1799d8fae6106bb6f1
parente40be984009b2ae4efe13a19e3acf3cd9e183124
LU-17031 build: fix refefine __compiletime_strlen error

Lustre build failed on Ubuntu 2204 kernel v5.17 with "redefine
__compiletime_strlen".
This patch fixes this build error.

Fixes: 919b93b951 ("LU-16510 build: fortified memcpy from linux 6.1")
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ic26daecd6b91614e01b5b0030f40eede205a21f7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51953
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/linux/linux-fortify-string.h