Whamcloud - gitweb
LU-17193 build: fix gcc-12 compiler warnings
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 26 Oct 2023 01:00:40 +0000 (18:00 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Oct 2023 21:45:13 +0000 (21:45 +0000)
commit542d90e4b1403e0f1f6be13a1980b276a61e245f
tree81ccf759e0ebe24c934fc0edeb83256e88b40e45
parent4725fccc64a4d591852ada514d9a56362ad459cd
LU-17193 build: fix gcc-12 compiler warnings

A few instances of QCTL_COPY() should be QCTL_COPY_NO_PNAME()
as the zero-length array to hold the pool name is not
allocated in these cases.

Lustre-change: https://review.whamcloud.com/c/fs/lustre-release/+/52687
Lustre-commit: 1b0de05f81372eeda9a2a38142553ead7e88a431

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I72bda8b46c51dbd42fb42bf569ba29572526acfe
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52834
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c