All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.10 144/1140] arch/arc/kernel/devtree.c:20:21: error: no previous prototype for 'arc_early_base_baud'
@ 2020-12-30  2:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-30  2:48 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-30  2:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-30  2:48 [chrome-os:chromeos-5.10 144/1140] arch/arc/kernel/devtree.c:20:21: error: no previous prototype for 'arc_early_base_baud' kernel test robot

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.