[linux-next:master 637/4147] warning: argument unused during compilation: '-mstrict-align' err: false

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ef6b35306dd8f15a7e5e5a2532e665917a43c5d9
commit: 5d287d7e9c9bd455f8eb9abf80f320927433e168 [637/4147] Kbuild: add Rust support
config: riscv-randconfig-r042-20220207 (https://download.01.org/0day-ci/archive/20220207/202202070448.t4dQz3iS-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 11.2.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=5d287d7e9c9bd455f8eb9abf80f320927433e168
        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 5d287d7e9c9bd455f8eb9abf80f320927433e168
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=riscv 

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

All warnings (new ones prefixed by >>):

   warning: optimization flag '-fno-inline-functions-called-once' is not supported err: false
>> warning: argument unused during compilation: '-mstrict-align' err: false
>> warning: argument unused during compilation: '-fno-stack-clash-protection' err: false
   warning: unknown warning option '-Wpacked-not-aligned'; did you mean err: false
   warning: unknown warning option '-Wstringop-truncation'; did you mean err: false
   warning: optimization flag '-fno-inline-functions-called-once' is not supported err: false
>> warning: argument unused during compilation: '-mstrict-align' err: false
>> warning: argument unused during compilation: '-fno-stack-clash-protection' err: false
   warning: unknown warning option '-Wpacked-not-aligned'; did you mean err: false
   warning: unknown warning option '-Wstringop-truncation'; did you mean err: false
   rust/helpers.c:22:17: warning: no previous prototype for function 'rust_helper_BUG' err: false
   rust/helpers.c:27:6: warning: no previous prototype for function 'rust_helper_clk_disable_unprepare' err: false
   rust/helpers.c:33:5: warning: no previous prototype for function 'rust_helper_clk_prepare_enable' err: false
   rust/helpers.c:39:15: warning: no previous prototype for function 'rust_helper_copy_from_user' err: false
   rust/helpers.c:44:15: warning: no previous prototype for function 'rust_helper_copy_to_user' err: false
   rust/helpers.c:49:15: warning: no previous prototype for function 'rust_helper_clear_user' err: false
   rust/helpers.c:54:15: warning: no previous prototype for function 'rust_helper_ioremap' err: false
   rust/helpers.c:60:4: warning: no previous prototype for function 'rust_helper_readb' err: false
   rust/helpers.c:66:5: warning: no previous prototype for function 'rust_helper_readw' err: false
   rust/helpers.c:72:5: warning: no previous prototype for function 'rust_helper_readl' err: false
   rust/helpers.c:79:5: warning: no previous prototype for function 'rust_helper_readq' err: false
   rust/helpers.c:86:6: warning: no previous prototype for function 'rust_helper_writeb' err: false
   rust/helpers.c:92:6: warning: no previous prototype for function 'rust_helper_writew' err: false
   rust/helpers.c:98:6: warning: no previous prototype for function 'rust_helper_writel' err: false
   rust/helpers.c:105:6: warning: no previous prototype for function 'rust_helper_writeq' err: false
   rust/helpers.c:112:4: warning: no previous prototype for function 'rust_helper_readb_relaxed' err: false
   rust/helpers.c:118:5: warning: no previous prototype for function 'rust_helper_readw_relaxed' err: false
   rust/helpers.c:124:5: warning: no previous prototype for function 'rust_helper_readl_relaxed' err: false
   rust/helpers.c:131:5: warning: no previous prototype for function 'rust_helper_readq_relaxed' err: false
   rust/helpers.c:138:6: warning: no previous prototype for function 'rust_helper_writeb_relaxed' err: false
   rust/helpers.c:144:6: warning: no previous prototype for function 'rust_helper_writew_relaxed' err: false
   rust/helpers.c:150:6: warning: no previous prototype for function 'rust_helper_writel_relaxed' err: false
   rust/helpers.c:157:6: warning: no previous prototype for function 'rust_helper_writeq_relaxed' err: false
   rust/helpers.c:163:6: warning: no previous prototype for function 'rust_helper___spin_lock_init' err: false
   rust/helpers.c:174:6: warning: no previous prototype for function 'rust_helper_spin_lock' err: false
   rust/helpers.c:180:6: warning: no previous prototype for function 'rust_helper_spin_unlock' err: false
   rust/helpers.c:186:15: warning: no previous prototype for function 'rust_helper_spin_lock_irqsave' err: false
   rust/helpers.c:194:6: warning: no previous prototype for function 'rust_helper_spin_unlock_irqrestore' err: false
   rust/helpers.c:200:6: warning: no previous prototype for function 'rust_helper_init_wait' err: false
   rust/helpers.c:206:5: warning: no previous prototype for function 'rust_helper_signal_pending' err: false
   rust/helpers.c:212:14: warning: no previous prototype for function 'rust_helper_alloc_pages' err: false
   rust/helpers.c:218:7: warning: no previous prototype for function 'rust_helper_kmap' err: false
   rust/helpers.c:224:6: warning: no previous prototype for function 'rust_helper_kunmap' err: false
   rust/helpers.c:230:5: warning: no previous prototype for function 'rust_helper_cond_resched' err: false
   rust/helpers.c:236:8: warning: no previous prototype for function 'rust_helper_copy_from_iter' err: false
   rust/helpers.c:242:8: warning: no previous prototype for function 'rust_helper_copy_to_iter' err: false
   rust/helpers.c:248:6: warning: no previous prototype for function 'rust_helper_IS_ERR' err: false
   rust/helpers.c:254:6: warning: no previous prototype for function 'rust_helper_PTR_ERR' err: false
   rust/helpers.c:260:13: warning: no previous prototype for function 'rust_helper_errname' err: false
   rust/helpers.c:266:6: warning: no previous prototype for function 'rust_helper_mutex_lock' err: false
   rust/helpers.c:272:6: warning: no previous prototype for function 'rust_helper_amba_set_drvdata' err: false
   rust/helpers.c:278:7: warning: no previous prototype for function 'rust_helper_amba_get_drvdata' err: false
   rust/helpers.c:285:1: warning: no previous prototype for function 'rust_helper_platform_get_drvdata' err: false
   rust/helpers.c:292:1: warning: no previous prototype for function 'rust_helper_platform_set_drvdata' err: false
   rust/helpers.c:299:12: warning: no previous prototype for function 'rust_helper_REFCOUNT_INIT' err: false
   rust/helpers.c:305:6: warning: no previous prototype for function 'rust_helper_refcount_inc' err: false
   rust/helpers.c:311:6: warning: no previous prototype for function 'rust_helper_refcount_dec_and_test' err: false
   rust/helpers.c:317:6: warning: no previous prototype for function 'rust_helper_rb_link_node' err: false
   rust/helpers.c:324:21: warning: no previous prototype for function 'rust_helper_get_current' err: false
   rust/helpers.c:330:6: warning: no previous prototype for function 'rust_helper_get_task_struct' err: false
   rust/helpers.c:336:6: warning: no previous prototype for function 'rust_helper_put_task_struct' err: false
   rust/helpers.c:342:5: warning: no previous prototype for function 'rust_helper_security_binder_set_context_mgr' err: false
   rust/helpers.c:348:5: warning: no previous prototype for function 'rust_helper_security_binder_transaction' err: false
   rust/helpers.c:355:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_binder' err: false
   rust/helpers.c:362:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_file' err: false
   rust/helpers.c:370:6: warning: no previous prototype for function 'rust_helper_rcu_read_lock' err: false
   rust/helpers.c:376:6: warning: no previous prototype for function 'rust_helper_rcu_read_unlock' err: false
   rust/helpers.c:382:6: warning: no previous prototype for function 'rust_helper_synchronize_rcu' err: false
   rust/helpers.c:388:7: warning: no previous prototype for function 'rust_helper_dev_get_drvdata' err: false
   rust/helpers.c:394:13: warning: no previous prototype for function 'rust_helper_dev_name' err: false
   rust/helpers.c:400:6: warning: no previous prototype for function 'rust_helper___seqcount_init' err: false
   rust/helpers.c:407:10: warning: no previous prototype for function 'rust_helper_read_seqcount_begin' err: false
   rust/helpers.c:413:5: warning: no previous prototype for function 'rust_helper_read_seqcount_retry' err: false
   rust/helpers.c:419:6: warning: no previous prototype for function 'rust_helper_write_seqcount_begin' err: false
   rust/helpers.c:425:6: warning: no previous prototype for function 'rust_helper_write_seqcount_end' err: false
   rust/helpers.c:431:6: warning: no previous prototype for function 'rust_helper_irq_set_handler_locked' err: false
   rust/helpers.c:438:7: warning: no previous prototype for function 'rust_helper_irq_data_get_irq_chip_data' err: false
   rust/helpers.c:444:18: warning: no previous prototype for function 'rust_helper_irq_desc_get_chip' err: false
   rust/helpers.c:450:7: warning: no previous prototype for function 'rust_helper_irq_desc_get_handler_data' err: false
   rust/helpers.c:456:6: warning: no previous prototype for function 'rust_helper_chained_irq_enter' err: false
   rust/helpers.c:463:6: warning: no previous prototype for function 'rust_helper_chained_irq_exit' err: false
   rust/helpers.c:470:20: warning: no previous prototype for function 'rust_helper_get_cred' err: false
   rust/helpers.c:476:6: warning: no previous prototype for function 'rust_helper_put_cred' err: false
   rust/helpers.c:481:28: warning: no previous prototype for function 'rust_helper_of_match_device' err: false
   cannot find function `_dev_printk` in module `bindings`
   --> rust/kernel/device.rs:146:23
   |
   146 | bindings::_dev_printk(
   | ^^^^^^^^^^^ not found in `bindings`

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




[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