mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct`
       [not found] <202207281950.xaFXiPzC-lkp@intel.com>
@ 2022-07-29  1:34 ` kernel test robot
  2022-08-02  0:55   ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-07-29  1:34 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: llvm, kbuild-all, Linux Kernel Mailing List

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9250d2f72dc46a808b6aa23bf50dd670f1f52ddc
commit: 475dd867241716f1b6ab12cc188c221bfadacc40 [13092/13104] Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
config: arm64-randconfig-r033-20220728 (attached as .config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
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=475dd867241716f1b6ab12cc188c221bfadacc40
         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 475dd867241716f1b6ab12cc188c221bfadacc40
         # save the config file
         mkdir build_dir && cp config build_dir/.config
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <yujie.liu@intel.com>

All errors (new ones prefixed by >>):

 >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb`
    --> rust/kernel/file.rs:275:43
    |
    275 |             let offset = unsafe { (*iocb).ki_pos };
    |                                           ^^^^^^ unknown field
    |
    = note: available fields are: `ki_filp`, `__bindgen_anon_1`
    help: one of the expressions' fields has a field of the same name
    |
    275 |             let offset = unsafe { (*iocb).__bindgen_anon_1.ki_pos };
    |                                           +++++++++++++++++
--
 >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb`
    --> rust/kernel/file.rs:284:30
    |
    284 |             unsafe { (*iocb).ki_pos += bindings::loff_t::try_from(read).unwrap() };
    |                              ^^^^^^ unknown field
    |
    = note: available fields are: `ki_filp`, `__bindgen_anon_1`
    help: one of the expressions' fields has a field of the same name
    |
    284 |             unsafe { (*iocb).__bindgen_anon_1.ki_pos += bindings::loff_t::try_from(read).unwrap() };
    |                              +++++++++++++++++
--
 >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb`
    --> rust/kernel/file.rs:323:43
    |
    323 |             let offset = unsafe { (*iocb).ki_pos };
    |                                           ^^^^^^ unknown field
    |
    = note: available fields are: `ki_filp`, `__bindgen_anon_1`
    help: one of the expressions' fields has a field of the same name
    |
    323 |             let offset = unsafe { (*iocb).__bindgen_anon_1.ki_pos };
    |                                           +++++++++++++++++
--
 >> error[E0609]: no field `ki_pos` on type `bindings_raw::kiocb`
    --> rust/kernel/file.rs:332:30
    |
    332 |             unsafe { (*iocb).ki_pos += bindings::loff_t::try_from(written).unwrap() };
    |                              ^^^^^^ unknown field
    |
    = note: available fields are: `ki_filp`, `__bindgen_anon_1`
    help: one of the expressions' fields has a field of the same name
    |
    332 |             unsafe { (*iocb).__bindgen_anon_1.ki_pos += bindings::loff_t::try_from(written).unwrap() };
    |                              +++++++++++++++++
--
 >> error[E0063]: missing field `uring_cmd` in initializer of `bindings_raw::file_operations`
    --> rust/kernel/file.rs:468:47
    |
    468 |     const VTABLE: bindings::file_operations = bindings::file_operations {
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `uring_cmd`
--
 >> error[E0609]: no field `group_leader` on type `bindings_raw::task_struct`
    --> rust/kernel/task.rs:85:40
    |
    85 |         let ptr = unsafe { (*self.ptr).group_leader };
    |                                        ^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `thread_info`, `__state`, `__bindgen_padding_0`, `__bindgen_anon_1`, `thread`
--
 >> error[E0609]: no field `pid` on type `bindings_raw::task_struct`
    --> rust/kernel/task.rs:96:30
    |
    96 |         unsafe { (*self.ptr).pid }
    |                              ^^^ unknown field
    |
    = note: available fields are: `thread_info`, `__state`, `__bindgen_padding_0`, `__bindgen_anon_1`, `thread`

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

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

* Re: [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct`
  2022-07-29  1:34 ` [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct` kernel test robot
@ 2022-08-02  0:55   ` Miguel Ojeda
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2022-08-02  0:55 UTC (permalink / raw)
  To: kernel test robot
  Cc: Miguel Ojeda, llvm, kbuild-all, Linux Kernel Mailing List

On Fri, Jul 29, 2022 at 3:34 AM kernel test robot <yujie.liu@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   9250d2f72dc46a808b6aa23bf50dd670f1f52ddc
> commit: 475dd867241716f1b6ab12cc188c221bfadacc40 [13092/13104] Merge branch 'rust-next' of https://github.com/Rust-for-Linux/linux.git
> config: arm64-randconfig-r033-20220728 (attached as .config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
> 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=475dd867241716f1b6ab12cc188c221bfadacc40
>          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 475dd867241716f1b6ab12cc188c221bfadacc40
>          # save the config file
>          mkdir build_dir && cp config build_dir/.config
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <yujie.liu@intel.com>

Fixed in rust-next (and v8 of the Rust patch series):
https://github.com/Rust-for-Linux/linux/pull/850

Thanks!

Cheers,
Miguel

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202207281950.xaFXiPzC-lkp@intel.com>
2022-07-29  1:34 ` [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct` kernel test robot
2022-08-02  0:55   ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®