All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 3450/5074] drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices'
Date: Wed, 11 Nov 2020 16:34:05 +0800	[thread overview]
Message-ID: <202011111600.3F2JsR8N-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]

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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40136 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Vignesh Raghavendra <vigneshr@ti.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [linux-next:master 3450/5074] drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices'
Date: Wed, 11 Nov 2020 16:34:05 +0800	[thread overview]
Message-ID: <202011111600.3F2JsR8N-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2004 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40136 bytes --]

             reply	other threads:[~2020-11-11  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  8:34 kernel test robot [this message]
2020-11-11  8:34 ` [linux-next:master 3450/5074] drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202011111600.3F2JsR8N-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.