Re: drivers/scsi/lpfc/lpfc_init.c:7788:35: error: 'struct lpfc_sli4_hba' has no member named 'c_stat'

From: James Smart
Date: Thu Sep 09 2021 - 10:43:42 EST


On 9/8/2021 10:13 PM, kernel test robot wrote:
Hi James,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a3fa7a101dcff93791d1b1bdb3affcad1410c8c1
commit: 02243836ad6f384284f10302e6b820b893960d1c scsi: lpfc: Add support for the CM framework
date: 2 weeks ago
config: powerpc-skiroot_defconfig (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=02243836ad6f384284f10302e6b820b893960d1c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 02243836ad6f384284f10302e6b820b893960d1c
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/scsi/lpfc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>


Fixed by:

https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=5.15/scsi-staging&id=4d568aeb6d71e5bec477c7c1884f7bd7ac0f4438

-- james