All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.10 144/1140] arch/arc/kernel/devtree.c:20:21: error: no previous prototype for 'arc_early_base_baud'
Date: Wed, 30 Dec 2020 10:48:09 +0800	[thread overview]
Message-ID: <202012301002.bvAs2mY6-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   e29aeefa77c834e2a10a1c5a6733e44e77288916
commit: 91df3c40faddd7b33f5ae12ade27857c3d4fd974 [144/1140] CHROMIUM: Add -Werror build option
config: arc-randconfig-r021-20201230 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.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
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 91df3c40faddd7b33f5ae12ade27857c3d4fd974
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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

All errors (new ones prefixed by >>):

>> arch/arc/kernel/devtree.c:20:21: error: no previous prototype for 'arc_early_base_baud' [-Werror=missing-prototypes]
      20 | unsigned int __init arc_early_base_baud(void)
         |                     ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
   arch/arc/kernel/disasm.c: In function 'disasm_instr':
>> arch/arc/kernel/disasm.c:28:12: error: variable 'ins_ptr' set but not used [-Werror=unused-but-set-variable]
      28 |  uint16_t *ins_ptr;
         |            ^~~~~~~
   cc1: all warnings being treated as errors
--
   arch/arc/kernel/kgdb.c: In function 'kgdb_arch_handle_exception':
>> arch/arc/kernel/kgdb.c:141:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
     141 |   if (kgdb_hex2long(&ptr, &addr))
         |      ^
   arch/arc/kernel/kgdb.c:144:2: note: here
     144 |  case 'D':
         |  ^~~~
   cc1: all warnings being treated as errors
--
>> drivers/iio/accel/mxc6255.c:168:36: error: 'mxc6255_acpi_match' defined but not used [-Werror=unused-const-variable=]
     168 | static const struct acpi_device_id mxc6255_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
   drivers/input/mouse/synaptics.c: In function 'synaptics_process_packet':
   drivers/input/mouse/synaptics.c:1110:6: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
    1110 |      ;   /* Nothing, treat a pen as a single finger */
         |      ^
   At top level:
>> drivers/input/mouse/synaptics.c:164:27: error: 'smbus_pnp_ids' defined but not used [-Werror=unused-const-variable=]
     164 | static const char * const smbus_pnp_ids[] = {
         |                           ^~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> drivers/iio/imu/fxos8700_i2c.c:46:36: error: 'fxos8700_acpi_match' defined but not used [-Werror=unused-const-variable=]
      46 | static const struct acpi_device_id fxos8700_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> drivers/iio/imu/fxos8700_spi.c:34:36: error: 'fxos8700_acpi_match' defined but not used [-Werror=unused-const-variable=]
      34 | static const struct acpi_device_id fxos8700_acpi_match[] = {
         |                                    ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> lib/crypto/blake2s-selftest.c:566:13: error: no previous prototype for 'blake2s_selftest' [-Werror=missing-prototypes]
     566 | bool __init blake2s_selftest(void)
         |             ^~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/arc_early_base_baud +20 arch/arc/kernel/devtree.c

ffb7fcd66f14bc7 Vineet Gupta 2014-10-28  19  
ffb7fcd66f14bc7 Vineet Gupta 2014-10-28 @20  unsigned int __init arc_early_base_baud(void)
ffb7fcd66f14bc7 Vineet Gupta 2014-10-28  21  {
ffb7fcd66f14bc7 Vineet Gupta 2014-10-28  22  	return arc_base_baud/16;
ffb7fcd66f14bc7 Vineet Gupta 2014-10-28  23  }
ffb7fcd66f14bc7 Vineet Gupta 2014-10-28  24  

:::::: The code at line 20 was first introduced by commit
:::::: ffb7fcd66f14bc716b9fdf559e71909131fef39b ARC: Dynamically determine BASE_BAUD from DeviceTree

:::::: TO: Vineet Gupta <vgupta@synopsys.com>
:::::: CC: Vineet Gupta <vgupta@synopsys.com>

---
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: 25289 bytes --]

                 reply	other threads:[~2020-12-30  2:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202012301002.bvAs2mY6-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.