All of lore.kernel.org
 help / color / mirror / Atom feed
* [rust:rust 964/1016] warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
@ 2022-01-30 20:13 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-30 20:13 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/Rust-for-Linux/linux rust
head:   29fd422f0dfc943c7509b6e6af61c20cc73c3e26
commit: 60524bca853f1d1971d216e508a4cc6d2365d63b [964/1016] rust: remove `!COMPILE_TEST` gate
config: arm64-randconfig-r006-20220131 (https://download.01.org/0day-ci/archive/20220131/202201310402.vCWP8CUS-lkp@intel.com/config)
compiler: aarch64-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://github.com/Rust-for-Linux/linux/commit/60524bca853f1d1971d216e508a4cc6d2365d63b
        git remote add rust https://github.com/Rust-for-Linux/linux
        git fetch --no-tags rust rust
        git checkout 60524bca853f1d1971d216e508a4cc6d2365d63b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 prepare

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 >>):

   error: unknown argument: '-fzero-call-used-regs=used-gpr', err: true
   warning: optimization flag '-fno-inline-functions-called-once' is not supported [-Wignored-optimization-argument], err: false
>> warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
>> warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-concatenation'? [-Wunknown-warning-option], err: false
   thread 'main' panicked at 'Unable to generate bindings: ()', /usr/local/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   error: unknown argument: '-fzero-call-used-regs=used-gpr', err: true
   warning: optimization flag '-fno-inline-functions-called-once' is not supported [-Wignored-optimization-argument], err: false
>> warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
>> warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-concatenation'? [-Wunknown-warning-option], err: false
   rust/helpers.c:22:17: warning: no previous prototype for function 'rust_helper_BUG' [-Wmissing-prototypes], err: false
   rust/helpers.c:27:6: warning: no previous prototype for function 'rust_helper_clk_disable_unprepare' [-Wmissing-prototypes], err: false
   rust/helpers.c:33:5: warning: no previous prototype for function 'rust_helper_clk_prepare_enable' [-Wmissing-prototypes], err: false
   rust/helpers.c:39:15: warning: no previous prototype for function 'rust_helper_copy_from_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:44:15: warning: no previous prototype for function 'rust_helper_copy_to_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:49:15: warning: no previous prototype for function 'rust_helper_clear_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:54:15: warning: no previous prototype for function 'rust_helper_ioremap' [-Wmissing-prototypes], err: false
   rust/helpers.c:60:4: warning: no previous prototype for function 'rust_helper_readb' [-Wmissing-prototypes], err: false
   rust/helpers.c:66:5: warning: no previous prototype for function 'rust_helper_readw' [-Wmissing-prototypes], err: false
   rust/helpers.c:72:5: warning: no previous prototype for function 'rust_helper_readl' [-Wmissing-prototypes], err: false
   rust/helpers.c:79:5: warning: no previous prototype for function 'rust_helper_readq' [-Wmissing-prototypes], err: false
   rust/helpers.c:86:6: warning: no previous prototype for function 'rust_helper_writeb' [-Wmissing-prototypes], err: false
   rust/helpers.c:92:6: warning: no previous prototype for function 'rust_helper_writew' [-Wmissing-prototypes], err: false
   rust/helpers.c:98:6: warning: no previous prototype for function 'rust_helper_writel' [-Wmissing-prototypes], err: false
   rust/helpers.c:105:6: warning: no previous prototype for function 'rust_helper_writeq' [-Wmissing-prototypes], err: false
   rust/helpers.c:112:4: warning: no previous prototype for function 'rust_helper_readb_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:118:5: warning: no previous prototype for function 'rust_helper_readw_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:124:5: warning: no previous prototype for function 'rust_helper_readl_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:131:5: warning: no previous prototype for function 'rust_helper_readq_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:138:6: warning: no previous prototype for function 'rust_helper_writeb_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:144:6: warning: no previous prototype for function 'rust_helper_writew_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:150:6: warning: no previous prototype for function 'rust_helper_writel_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:157:6: warning: no previous prototype for function 'rust_helper_writeq_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:163:6: warning: no previous prototype for function 'rust_helper___spin_lock_init' [-Wmissing-prototypes], err: false
   rust/helpers.c:174:6: warning: no previous prototype for function 'rust_helper_spin_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:180:6: warning: no previous prototype for function 'rust_helper_spin_unlock' [-Wmissing-prototypes], err: false
   rust/helpers.c:186:15: warning: no previous prototype for function 'rust_helper_spin_lock_irqsave' [-Wmissing-prototypes], err: false
   rust/helpers.c:194:6: warning: no previous prototype for function 'rust_helper_spin_unlock_irqrestore' [-Wmissing-prototypes], err: false
   rust/helpers.c:200:6: warning: no previous prototype for function 'rust_helper_init_wait' [-Wmissing-prototypes], err: false
   rust/helpers.c:206:5: warning: no previous prototype for function 'rust_helper_signal_pending' [-Wmissing-prototypes], err: false
   rust/helpers.c:212:14: warning: no previous prototype for function 'rust_helper_alloc_pages' [-Wmissing-prototypes], err: false
   rust/helpers.c:218:7: warning: no previous prototype for function 'rust_helper_kmap' [-Wmissing-prototypes], err: false
   rust/helpers.c:224:6: warning: no previous prototype for function 'rust_helper_kunmap' [-Wmissing-prototypes], err: false
   rust/helpers.c:230:5: warning: no previous prototype for function 'rust_helper_cond_resched' [-Wmissing-prototypes], err: false
   rust/helpers.c:236:8: warning: no previous prototype for function 'rust_helper_copy_from_iter' [-Wmissing-prototypes], err: false
   rust/helpers.c:242:8: warning: no previous prototype for function 'rust_helper_copy_to_iter' [-Wmissing-prototypes], err: false
   rust/helpers.c:248:6: warning: no previous prototype for function 'rust_helper_IS_ERR' [-Wmissing-prototypes], err: false
   rust/helpers.c:254:6: warning: no previous prototype for function 'rust_helper_PTR_ERR' [-Wmissing-prototypes], err: false
   rust/helpers.c:260:13: warning: no previous prototype for function 'rust_helper_errname' [-Wmissing-prototypes], err: false
   rust/helpers.c:266:6: warning: no previous prototype for function 'rust_helper_mutex_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:272:6: warning: no previous prototype for function 'rust_helper_amba_set_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:278:7: warning: no previous prototype for function 'rust_helper_amba_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:285:1: warning: no previous prototype for function 'rust_helper_platform_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:292:1: warning: no previous prototype for function 'rust_helper_platform_set_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:299:12: warning: no previous prototype for function 'rust_helper_REFCOUNT_INIT' [-Wmissing-prototypes], err: false
   rust/helpers.c:305:6: warning: no previous prototype for function 'rust_helper_refcount_inc' [-Wmissing-prototypes], err: false
   rust/helpers.c:311:6: warning: no previous prototype for function 'rust_helper_refcount_dec_and_test' [-Wmissing-prototypes], err: false
   rust/helpers.c:317:6: warning: no previous prototype for function 'rust_helper_rb_link_node' [-Wmissing-prototypes], err: false
   rust/helpers.c:324:21: warning: no previous prototype for function 'rust_helper_get_current' [-Wmissing-prototypes], err: false
   rust/helpers.c:330:6: warning: no previous prototype for function 'rust_helper_get_task_struct' [-Wmissing-prototypes], err: false
   rust/helpers.c:336:6: warning: no previous prototype for function 'rust_helper_put_task_struct' [-Wmissing-prototypes], err: false
   rust/helpers.c:342:5: warning: no previous prototype for function 'rust_helper_security_binder_set_context_mgr' [-Wmissing-prototypes], err: false
   rust/helpers.c:348:5: warning: no previous prototype for function 'rust_helper_security_binder_transaction' [-Wmissing-prototypes], err: false
   rust/helpers.c:355:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_binder' [-Wmissing-prototypes], err: false
   rust/helpers.c:362:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_file' [-Wmissing-prototypes], err: false
   rust/helpers.c:370:6: warning: no previous prototype for function 'rust_helper_rcu_read_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:376:6: warning: no previous prototype for function 'rust_helper_rcu_read_unlock' [-Wmissing-prototypes], err: false
   rust/helpers.c:382:6: warning: no previous prototype for function 'rust_helper_synchronize_rcu' [-Wmissing-prototypes], err: false
   rust/helpers.c:388:7: warning: no previous prototype for function 'rust_helper_dev_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:394:13: warning: no previous prototype for function 'rust_helper_dev_name' [-Wmissing-prototypes], err: false
   rust/helpers.c:400:6: warning: no previous prototype for function 'rust_helper___seqcount_init' [-Wmissing-prototypes], err: false
   rust/helpers.c:407:10: warning: no previous prototype for function 'rust_helper_read_seqcount_begin' [-Wmissing-prototypes], err: false
   rust/helpers.c:413:5: warning: no previous prototype for function 'rust_helper_read_seqcount_retry' [-Wmissing-prototypes], err: false
   rust/helpers.c:419:6: warning: no previous prototype for function 'rust_helper_write_seqcount_begin' [-Wmissing-prototypes], err: false
   rust/helpers.c:425:6: warning: no previous prototype for function 'rust_helper_write_seqcount_end' [-Wmissing-prototypes], err: false
   rust/helpers.c:431:6: warning: no previous prototype for function 'rust_helper_irq_set_handler_locked' [-Wmissing-prototypes], err: false
   rust/helpers.c:438:7: warning: no previous prototype for function 'rust_helper_irq_data_get_irq_chip_data' [-Wmissing-prototypes], err: false
   rust/helpers.c:444:18: warning: no previous prototype for function 'rust_helper_irq_desc_get_chip' [-Wmissing-prototypes], err: false
   rust/helpers.c:450:7: warning: no previous prototype for function 'rust_helper_irq_desc_get_handler_data' [-Wmissing-prototypes], err: false
   rust/helpers.c:456:6: warning: no previous prototype for function 'rust_helper_chained_irq_enter' [-Wmissing-prototypes], err: false
   rust/helpers.c:463:6: warning: no previous prototype for function 'rust_helper_chained_irq_exit' [-Wmissing-prototypes], err: false
   rust/helpers.c:470:20: warning: no previous prototype for function 'rust_helper_get_cred' [-Wmissing-prototypes], err: false
   rust/helpers.c:476:6: warning: no previous prototype for function 'rust_helper_put_cred' [-Wmissing-prototypes], err: false
   rust/helpers.c:481:28: warning: no previous prototype for function 'rust_helper_of_match_device' [-Wmissing-prototypes], err: false
   make[2]: *** [rust/Makefile:243: rust/bindings_generated.rs] Error 1
   make[2]: *** Deleting file 'rust/bindings_generated.rs'
   thread 'main' panicked at 'Unable to generate bindings: ()', /usr/local/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   make[2]: *** [rust/Makefile:256: rust/bindings_helpers_generated.rs] Error 1
   make[2]: *** Deleting file 'rust/bindings_helpers_generated.rs'
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1272: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:226: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [rust:rust 964/1016] warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
@ 2022-01-30 20:13 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2022-01-30 20:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/Rust-for-Linux/linux rust
head:   29fd422f0dfc943c7509b6e6af61c20cc73c3e26
commit: 60524bca853f1d1971d216e508a4cc6d2365d63b [964/1016] rust: remove `!COMPILE_TEST` gate
config: arm64-randconfig-r006-20220131 (https://download.01.org/0day-ci/archive/20220131/202201310402.vCWP8CUS-lkp(a)intel.com/config)
compiler: aarch64-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://github.com/Rust-for-Linux/linux/commit/60524bca853f1d1971d216e508a4cc6d2365d63b
        git remote add rust https://github.com/Rust-for-Linux/linux
        git fetch --no-tags rust rust
        git checkout 60524bca853f1d1971d216e508a4cc6d2365d63b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 prepare

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 >>):

   error: unknown argument: '-fzero-call-used-regs=used-gpr', err: true
   warning: optimization flag '-fno-inline-functions-called-once' is not supported [-Wignored-optimization-argument], err: false
>> warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
>> warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-concatenation'? [-Wunknown-warning-option], err: false
   thread 'main' panicked at 'Unable to generate bindings: ()', /usr/local/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   error: unknown argument: '-fzero-call-used-regs=used-gpr', err: true
   warning: optimization flag '-fno-inline-functions-called-once' is not supported [-Wignored-optimization-argument], err: false
>> warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
>> warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-concatenation'? [-Wunknown-warning-option], err: false
   rust/helpers.c:22:17: warning: no previous prototype for function 'rust_helper_BUG' [-Wmissing-prototypes], err: false
   rust/helpers.c:27:6: warning: no previous prototype for function 'rust_helper_clk_disable_unprepare' [-Wmissing-prototypes], err: false
   rust/helpers.c:33:5: warning: no previous prototype for function 'rust_helper_clk_prepare_enable' [-Wmissing-prototypes], err: false
   rust/helpers.c:39:15: warning: no previous prototype for function 'rust_helper_copy_from_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:44:15: warning: no previous prototype for function 'rust_helper_copy_to_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:49:15: warning: no previous prototype for function 'rust_helper_clear_user' [-Wmissing-prototypes], err: false
   rust/helpers.c:54:15: warning: no previous prototype for function 'rust_helper_ioremap' [-Wmissing-prototypes], err: false
   rust/helpers.c:60:4: warning: no previous prototype for function 'rust_helper_readb' [-Wmissing-prototypes], err: false
   rust/helpers.c:66:5: warning: no previous prototype for function 'rust_helper_readw' [-Wmissing-prototypes], err: false
   rust/helpers.c:72:5: warning: no previous prototype for function 'rust_helper_readl' [-Wmissing-prototypes], err: false
   rust/helpers.c:79:5: warning: no previous prototype for function 'rust_helper_readq' [-Wmissing-prototypes], err: false
   rust/helpers.c:86:6: warning: no previous prototype for function 'rust_helper_writeb' [-Wmissing-prototypes], err: false
   rust/helpers.c:92:6: warning: no previous prototype for function 'rust_helper_writew' [-Wmissing-prototypes], err: false
   rust/helpers.c:98:6: warning: no previous prototype for function 'rust_helper_writel' [-Wmissing-prototypes], err: false
   rust/helpers.c:105:6: warning: no previous prototype for function 'rust_helper_writeq' [-Wmissing-prototypes], err: false
   rust/helpers.c:112:4: warning: no previous prototype for function 'rust_helper_readb_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:118:5: warning: no previous prototype for function 'rust_helper_readw_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:124:5: warning: no previous prototype for function 'rust_helper_readl_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:131:5: warning: no previous prototype for function 'rust_helper_readq_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:138:6: warning: no previous prototype for function 'rust_helper_writeb_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:144:6: warning: no previous prototype for function 'rust_helper_writew_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:150:6: warning: no previous prototype for function 'rust_helper_writel_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:157:6: warning: no previous prototype for function 'rust_helper_writeq_relaxed' [-Wmissing-prototypes], err: false
   rust/helpers.c:163:6: warning: no previous prototype for function 'rust_helper___spin_lock_init' [-Wmissing-prototypes], err: false
   rust/helpers.c:174:6: warning: no previous prototype for function 'rust_helper_spin_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:180:6: warning: no previous prototype for function 'rust_helper_spin_unlock' [-Wmissing-prototypes], err: false
   rust/helpers.c:186:15: warning: no previous prototype for function 'rust_helper_spin_lock_irqsave' [-Wmissing-prototypes], err: false
   rust/helpers.c:194:6: warning: no previous prototype for function 'rust_helper_spin_unlock_irqrestore' [-Wmissing-prototypes], err: false
   rust/helpers.c:200:6: warning: no previous prototype for function 'rust_helper_init_wait' [-Wmissing-prototypes], err: false
   rust/helpers.c:206:5: warning: no previous prototype for function 'rust_helper_signal_pending' [-Wmissing-prototypes], err: false
   rust/helpers.c:212:14: warning: no previous prototype for function 'rust_helper_alloc_pages' [-Wmissing-prototypes], err: false
   rust/helpers.c:218:7: warning: no previous prototype for function 'rust_helper_kmap' [-Wmissing-prototypes], err: false
   rust/helpers.c:224:6: warning: no previous prototype for function 'rust_helper_kunmap' [-Wmissing-prototypes], err: false
   rust/helpers.c:230:5: warning: no previous prototype for function 'rust_helper_cond_resched' [-Wmissing-prototypes], err: false
   rust/helpers.c:236:8: warning: no previous prototype for function 'rust_helper_copy_from_iter' [-Wmissing-prototypes], err: false
   rust/helpers.c:242:8: warning: no previous prototype for function 'rust_helper_copy_to_iter' [-Wmissing-prototypes], err: false
   rust/helpers.c:248:6: warning: no previous prototype for function 'rust_helper_IS_ERR' [-Wmissing-prototypes], err: false
   rust/helpers.c:254:6: warning: no previous prototype for function 'rust_helper_PTR_ERR' [-Wmissing-prototypes], err: false
   rust/helpers.c:260:13: warning: no previous prototype for function 'rust_helper_errname' [-Wmissing-prototypes], err: false
   rust/helpers.c:266:6: warning: no previous prototype for function 'rust_helper_mutex_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:272:6: warning: no previous prototype for function 'rust_helper_amba_set_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:278:7: warning: no previous prototype for function 'rust_helper_amba_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:285:1: warning: no previous prototype for function 'rust_helper_platform_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:292:1: warning: no previous prototype for function 'rust_helper_platform_set_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:299:12: warning: no previous prototype for function 'rust_helper_REFCOUNT_INIT' [-Wmissing-prototypes], err: false
   rust/helpers.c:305:6: warning: no previous prototype for function 'rust_helper_refcount_inc' [-Wmissing-prototypes], err: false
   rust/helpers.c:311:6: warning: no previous prototype for function 'rust_helper_refcount_dec_and_test' [-Wmissing-prototypes], err: false
   rust/helpers.c:317:6: warning: no previous prototype for function 'rust_helper_rb_link_node' [-Wmissing-prototypes], err: false
   rust/helpers.c:324:21: warning: no previous prototype for function 'rust_helper_get_current' [-Wmissing-prototypes], err: false
   rust/helpers.c:330:6: warning: no previous prototype for function 'rust_helper_get_task_struct' [-Wmissing-prototypes], err: false
   rust/helpers.c:336:6: warning: no previous prototype for function 'rust_helper_put_task_struct' [-Wmissing-prototypes], err: false
   rust/helpers.c:342:5: warning: no previous prototype for function 'rust_helper_security_binder_set_context_mgr' [-Wmissing-prototypes], err: false
   rust/helpers.c:348:5: warning: no previous prototype for function 'rust_helper_security_binder_transaction' [-Wmissing-prototypes], err: false
   rust/helpers.c:355:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_binder' [-Wmissing-prototypes], err: false
   rust/helpers.c:362:5: warning: no previous prototype for function 'rust_helper_security_binder_transfer_file' [-Wmissing-prototypes], err: false
   rust/helpers.c:370:6: warning: no previous prototype for function 'rust_helper_rcu_read_lock' [-Wmissing-prototypes], err: false
   rust/helpers.c:376:6: warning: no previous prototype for function 'rust_helper_rcu_read_unlock' [-Wmissing-prototypes], err: false
   rust/helpers.c:382:6: warning: no previous prototype for function 'rust_helper_synchronize_rcu' [-Wmissing-prototypes], err: false
   rust/helpers.c:388:7: warning: no previous prototype for function 'rust_helper_dev_get_drvdata' [-Wmissing-prototypes], err: false
   rust/helpers.c:394:13: warning: no previous prototype for function 'rust_helper_dev_name' [-Wmissing-prototypes], err: false
   rust/helpers.c:400:6: warning: no previous prototype for function 'rust_helper___seqcount_init' [-Wmissing-prototypes], err: false
   rust/helpers.c:407:10: warning: no previous prototype for function 'rust_helper_read_seqcount_begin' [-Wmissing-prototypes], err: false
   rust/helpers.c:413:5: warning: no previous prototype for function 'rust_helper_read_seqcount_retry' [-Wmissing-prototypes], err: false
   rust/helpers.c:419:6: warning: no previous prototype for function 'rust_helper_write_seqcount_begin' [-Wmissing-prototypes], err: false
   rust/helpers.c:425:6: warning: no previous prototype for function 'rust_helper_write_seqcount_end' [-Wmissing-prototypes], err: false
   rust/helpers.c:431:6: warning: no previous prototype for function 'rust_helper_irq_set_handler_locked' [-Wmissing-prototypes], err: false
   rust/helpers.c:438:7: warning: no previous prototype for function 'rust_helper_irq_data_get_irq_chip_data' [-Wmissing-prototypes], err: false
   rust/helpers.c:444:18: warning: no previous prototype for function 'rust_helper_irq_desc_get_chip' [-Wmissing-prototypes], err: false
   rust/helpers.c:450:7: warning: no previous prototype for function 'rust_helper_irq_desc_get_handler_data' [-Wmissing-prototypes], err: false
   rust/helpers.c:456:6: warning: no previous prototype for function 'rust_helper_chained_irq_enter' [-Wmissing-prototypes], err: false
   rust/helpers.c:463:6: warning: no previous prototype for function 'rust_helper_chained_irq_exit' [-Wmissing-prototypes], err: false
   rust/helpers.c:470:20: warning: no previous prototype for function 'rust_helper_get_cred' [-Wmissing-prototypes], err: false
   rust/helpers.c:476:6: warning: no previous prototype for function 'rust_helper_put_cred' [-Wmissing-prototypes], err: false
   rust/helpers.c:481:28: warning: no previous prototype for function 'rust_helper_of_match_device' [-Wmissing-prototypes], err: false
   make[2]: *** [rust/Makefile:243: rust/bindings_generated.rs] Error 1
   make[2]: *** Deleting file 'rust/bindings_generated.rs'
   thread 'main' panicked at 'Unable to generate bindings: ()', /usr/local/registry/src/github.com-1ecc6299db9ec823/bindgen-0.56.0/src/main.rs:54:36
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   make[2]: *** [rust/Makefile:256: rust/bindings_helpers_generated.rs] Error 1
   make[2]: *** Deleting file 'rust/bindings_helpers_generated.rs'
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1272: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:226: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [rust:rust 964/1016] warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
  2022-01-30 20:13 ` kernel test robot
@ 2022-02-07  0:28   ` Miguel Ojeda
  -1 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2022-02-07  0:28 UTC (permalink / raw)
  To: kernel test robot; +Cc: Miguel Ojeda, kbuild-all, linux-kernel

On Sun, Jan 30, 2022 at 9:13 PM kernel test robot <lkp@intel.com> wrote:
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

This is fixed in the `rust` branch (the error and the other warnings).
Also, our CI is now under GCC 11.2 and enabling
`CONFIG_ZERO_CALL_USED_REGS` confirms it is fixed.

Thanks a lot for running some of the runs with Rust enabled!

By the way, it seems that for some reason the bot picked the warning
first, instead of the error.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [rust:rust 964/1016] warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false
@ 2022-02-07  0:28   ` Miguel Ojeda
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel Ojeda @ 2022-02-07  0:28 UTC (permalink / raw)
  To: kbuild-all

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

On Sun, Jan 30, 2022 at 9:13 PM kernel test robot <lkp@intel.com> wrote:
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

This is fixed in the `rust` branch (the error and the other warnings).
Also, our CI is now under GCC 11.2 and enabling
`CONFIG_ZERO_CALL_USED_REGS` confirms it is fixed.

Thanks a lot for running some of the runs with Rust enabled!

By the way, it seems that for some reason the bot picked the warning
first, instead of the error.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-07  0:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-30 20:13 [rust:rust 964/1016] warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wover-aligned'? [-Wunknown-warning-option], err: false kernel test robot
2022-01-30 20:13 ` kernel test robot
2022-02-07  0:28 ` Miguel Ojeda
2022-02-07  0:28   ` Miguel Ojeda

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.