Content-Type: multipart/mixed; boundary="===============4153949986145580571==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 4/5] staging: r8188eu: remove rf_type from struct hal_data_8188e Date: Mon, 29 Nov 2021 00:43:47 +0800 Message-ID: <202111290017.K4fY1Rzb-lkp@intel.com> In-Reply-To: <20211128135326.9838-5-straube.linux@gmail.com> List-Id: --===============4153949986145580571== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Michael, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/Michael-Straube/staging-r8= 188eu-remove-rf_type-and-rtw_rf_config/20211128-215723 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git = 84c365f8ff8fc93a34d6cabe780d0b0f49c177e2 config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/2021112= 9/202111290017.K4fY1Rzb-lkp(a)intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/24ae4273c618f09d6a87c4c86= b67a18a8fbacc59 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Michael-Straube/staging-r8188eu-re= move-rf_type-and-rtw_rf_config/20211128-215723 git checkout 24ae4273c618f09d6a87c4c86b67a18a8fbacc59 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash drivers/staging/r8188eu/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/staging/r8188eu/hal/rtl8188e_phycfg.c: In function 'storePwrInde= xDiffRateOffset': >> drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:509:29: error: 'struct hal= _data_8188e' has no member named 'rf_type' 509 | if (pHalData->rf_type =3D=3D RF_1T1R) | ^~ drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:528:29: error: 'struct hal= _data_8188e' has no member named 'rf_type' 528 | if (pHalData->rf_type !=3D RF_1T1R) | ^~ drivers/staging/r8188eu/hal/rtl8188e_phycfg.c: In function 'getTxPowerIn= dex88E': drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:620:33: error: 'struct hal= _data_8188e' has no member named 'rf_type' 620 | if ((RF_1T2R =3D=3D pHalData->rf_type) || (RF_1T1R =3D= =3D pHalData->rf_type)) | ^~ drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:620:67: error: 'struct hal= _data_8188e' has no member named 'rf_type' 620 | if ((RF_1T2R =3D=3D pHalData->rf_type) || (RF_1T1R =3D= =3D pHalData->rf_type)) | = ^~ vim +509 drivers/staging/r8188eu/hal/rtl8188e_phycfg.c 8cd574e6af5463 Phillip Potter 2021-07-28 488 = 8cd574e6af5463 Phillip Potter 2021-07-28 489 void storePwrIndexDiffRateOf= fset(struct adapter *Adapter, u32 RegAddr, u32 BitMask, u32 Data) 8cd574e6af5463 Phillip Potter 2021-07-28 490 { 8cd574e6af5463 Phillip Potter 2021-07-28 491 struct hal_data_8188e *pHal= Data =3D GET_HAL_DATA(Adapter); 8cd574e6af5463 Phillip Potter 2021-07-28 492 = 8cd574e6af5463 Phillip Potter 2021-07-28 493 if (RegAddr =3D=3D rTxAGC_A= _Rate18_06) 8cd574e6af5463 Phillip Potter 2021-07-28 494 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][0] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 495 if (RegAddr =3D=3D rTxAGC_A= _Rate54_24) 8cd574e6af5463 Phillip Potter 2021-07-28 496 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][1] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 497 if (RegAddr =3D=3D rTxAGC_A= _CCK1_Mcs32) 8cd574e6af5463 Phillip Potter 2021-07-28 498 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][6] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 499 if (RegAddr =3D=3D rTxAGC_B= _CCK11_A_CCK2_11 && BitMask =3D=3D 0xffffff00) 8cd574e6af5463 Phillip Potter 2021-07-28 500 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][7] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 501 if (RegAddr =3D=3D rTxAGC_A= _Mcs03_Mcs00) 8cd574e6af5463 Phillip Potter 2021-07-28 502 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][2] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 503 if (RegAddr =3D=3D rTxAGC_A= _Mcs07_Mcs04) 8cd574e6af5463 Phillip Potter 2021-07-28 504 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][3] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 505 if (RegAddr =3D=3D rTxAGC_A= _Mcs11_Mcs08) 8cd574e6af5463 Phillip Potter 2021-07-28 506 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][4] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 507 if (RegAddr =3D=3D rTxAGC_A= _Mcs15_Mcs12) { 8cd574e6af5463 Phillip Potter 2021-07-28 508 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][5] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 @509 if (pHalData->rf_type =3D= =3D RF_1T1R) 8cd574e6af5463 Phillip Potter 2021-07-28 510 pHalData->pwrGroupCnt++; 8cd574e6af5463 Phillip Potter 2021-07-28 511 } 8cd574e6af5463 Phillip Potter 2021-07-28 512 if (RegAddr =3D=3D rTxAGC_B= _Rate18_06) 8cd574e6af5463 Phillip Potter 2021-07-28 513 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][8] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 514 if (RegAddr =3D=3D rTxAGC_B= _Rate54_24) 8cd574e6af5463 Phillip Potter 2021-07-28 515 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][9] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 516 if (RegAddr =3D=3D rTxAGC_B= _CCK1_55_Mcs32) 8cd574e6af5463 Phillip Potter 2021-07-28 517 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][14] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 518 if (RegAddr =3D=3D rTxAGC_B= _CCK11_A_CCK2_11 && BitMask =3D=3D 0x000000ff) 8cd574e6af5463 Phillip Potter 2021-07-28 519 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][15] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 520 if (RegAddr =3D=3D rTxAGC_B= _Mcs03_Mcs00) 8cd574e6af5463 Phillip Potter 2021-07-28 521 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][10] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 522 if (RegAddr =3D=3D rTxAGC_B= _Mcs07_Mcs04) 8cd574e6af5463 Phillip Potter 2021-07-28 523 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][11] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 524 if (RegAddr =3D=3D rTxAGC_B= _Mcs11_Mcs08) 8cd574e6af5463 Phillip Potter 2021-07-28 525 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][12] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 526 if (RegAddr =3D=3D rTxAGC_B= _Mcs15_Mcs12) { 8cd574e6af5463 Phillip Potter 2021-07-28 527 pHalData->MCSTxPowerLevelO= riginalOffset[pHalData->pwrGroupCnt][13] =3D Data; 8cd574e6af5463 Phillip Potter 2021-07-28 528 if (pHalData->rf_type !=3D= RF_1T1R) 8cd574e6af5463 Phillip Potter 2021-07-28 529 pHalData->pwrGroupCnt++; 8cd574e6af5463 Phillip Potter 2021-07-28 530 } 8cd574e6af5463 Phillip Potter 2021-07-28 531 } 8cd574e6af5463 Phillip Potter 2021-07-28 532 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4153949986145580571==--