tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master head: 2c92790b12033797474b9ba1b2e56a95360f66cd commit: 38c95e0258a067812311e84d2a170fd56f05431d [127/131] brcmsmac: phy_lcn: Remove a bunch of unused variables config: arm64-randconfig-r012-20200901 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c10e63677f5d20f18010f8f68c631ddc97546f7d) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu git checkout 38c95e0258a067812311e84d2a170fd56f05431d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:361:25: warning: unused variable 'lcnphy_rx_iqcomp_table_rev0' [-Wunused-const-variable] struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = { ^ 1 warning generated. # https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=38c95e0258a067812311e84d2a170fd56f05431d git remote add wireless-drivers-next https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git git fetch --no-tags wireless-drivers-next master git checkout 38c95e0258a067812311e84d2a170fd56f05431d vim +/lcnphy_rx_iqcomp_table_rev0 +361 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 359 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 360 static const 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 @361 struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = { 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 362 {1, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 363 {2, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 364 {3, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 365 {4, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 366 {5, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 367 {6, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 368 {7, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 369 {8, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 370 {9, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 371 {10, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 372 {11, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 373 {12, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 374 {13, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 375 {14, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 376 {34, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 377 {38, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 378 {42, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 379 {46, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 380 {36, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 381 {40, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 382 {44, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 383 {48, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 384 {52, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 385 {56, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 386 {60, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 387 {64, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 388 {100, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 389 {104, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 390 {108, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 391 {112, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 392 {116, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 393 {120, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 394 {124, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 395 {128, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 396 {132, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 397 {136, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 398 {140, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 399 {149, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 400 {153, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 401 {157, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 402 {161, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 403 {165, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 404 {184, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 405 {188, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 406 {192, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 407 {196, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 408 {200, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 409 {204, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 410 {208, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 411 {212, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 412 {216, 0, 0}, 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 413 }; 5b435de0d78686 drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c Arend van Spriel 2011-10-05 414 :::::: The code at line 361 was first introduced by commit :::::: 5b435de0d786869c95d1962121af0d7df2542009 net: wireless: add brcm80211 drivers :::::: TO: Arend van Spriel <arend@xxxxxxxxxxxx> :::::: CC: John W. Linville <linville@xxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip