[linux-next:master 3450/5074] drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vignesh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3e14f70c05cda4794901ed8f976de3a88deebcc0
commit: 439c7183e5b97952bba1747f5ffc4dea45a6a18b [3450/5074] serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
config: arm64-randconfig-r024-20201109 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 09ec07827b1128504457a93dee80b2ceee1af600)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=439c7183e5b97952bba1747f5ffc4dea45a6a18b
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 439c7183e5b97952bba1747f5ffc4dea45a6a18b
        # 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/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices' [-Wunused-const-variable]
   static const struct soc_device_attribute k3_soc_devices[] = {
                                            ^
   1 warning generated.

vim +/k3_soc_devices +1199 drivers/tty/serial/8250/8250_omap.c

  1198	
> 1199	static const struct soc_device_attribute k3_soc_devices[] = {
  1200		{ .family = "AM65X",  },
  1201		{ .family = "J721E", .revision = "SR1.0" },
  1202	};
  1203	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux