mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <yujie.liu@intel.com>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: <llvm@lists.linux.dev>, <kbuild-all@lists.01.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [linux-next:master 13092/13104] error[E0609]: no field `group_leader` on type `bindings_raw::task_struct`
Date: Fri, 29 Jul 2022 09:34:32 +0800	[thread overview]
Message-ID: <383b1045-94c5-c2b0-57db-9f4f4760206c@intel.com> (raw)
In-Reply-To: <202207281950.xaFXiPzC-lkp@intel.com>

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

       reply	other threads:[~2022-07-29  1:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202207281950.xaFXiPzC-lkp@intel.com>
2022-07-29  1:34 ` kernel test robot [this message]
2022-08-02  0:55   ` Miguel Ojeda

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=383b1045-94c5-c2b0-57db-9f4f4760206c@intel.com \
    --to=yujie.liu@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=ojeda@kernel.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 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®