All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 13092/13104] error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
       [not found] <202207280541.fIGx210Q-lkp@intel.com>
@ 2022-07-29  1:31 ` kernel test robot
  2022-08-02  0:55     ` Miguel Ojeda
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-07-29  1:31 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: kbuild-all, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 3249 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: x86_64-rhel-8.3-rust (attached as .config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)

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: write on a pipe with no reader
 >> error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
    --> rust/bindings_generated.rs:128494:1
    |
    128494 | / pub struct x86_msi_data {
    128495 | |     pub __bindgen_anon_1: x86_msi_data__bindgen_ty_1,
    128496 | | }
    | |_^
    |
    note: `x86_msi_data__bindgen_ty_1__bindgen_ty_1` has a `#[repr(align)]` attribute
    --> rust/bindings_generated.rs:128507:1
    |
    128507 | / pub struct x86_msi_data__bindgen_ty_1__bindgen_ty_1 {
    128508 | |     pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
    128509 | |     pub __bindgen_padding_0: u16,
    128510 | | }
    | |_^
    note: `x86_msi_data` contains a field of type `x86_msi_data__bindgen_ty_1`
    --> rust/bindings_generated.rs:128495:9
    |
    128495 |     pub __bindgen_anon_1: x86_msi_data__bindgen_ty_1,
    |         ^^^^^^^^^^^^^^^^
    note: ...which contains a field of type `x86_msi_data__bindgen_ty_1__bindgen_ty_1`
    --> rust/bindings_generated.rs:128500:9
    |
    128500 |     pub __bindgen_anon_1: x86_msi_data__bindgen_ty_1__bindgen_ty_1,
    |         ^^^^^^^^^^^^^^^^
--
 >> error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
    --> rust/bindings_generated.rs:128687:1
    |
    128687 | / pub struct x86_msi_addr_lo {
    128688 | |     pub __bindgen_anon_1: x86_msi_addr_lo__bindgen_ty_1,
    128689 | | }
    | |_^
    |
    note: `x86_msi_addr_lo__bindgen_ty_1__bindgen_ty_1` has a `#[repr(align)]` attribute
    --> rust/bindings_generated.rs:128700:1
    |
    128700 | / pub struct x86_msi_addr_lo__bindgen_ty_1__bindgen_ty_1 {
    128701 | |     pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>,
    128702 | | }
    | |_^
    note: `x86_msi_addr_lo` contains a field of type `x86_msi_addr_lo__bindgen_ty_1`
    --> rust/bindings_generated.rs:128688:9
    |
    128688 |     pub __bindgen_anon_1: x86_msi_addr_lo__bindgen_ty_1,
    |         ^^^^^^^^^^^^^^^^
    note: ...which contains a field of type `x86_msi_addr_lo__bindgen_ty_1__bindgen_ty_1`
    --> rust/bindings_generated.rs:128693:9
    |
    128693 |     pub __bindgen_anon_1: x86_msi_addr_lo__bindgen_ty_1__bindgen_ty_1,
    |         ^^^^^^^^^^^^^^^^
--
 >> 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: aborting due to 3 previous errors

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

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

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

* Re: [linux-next:master 13092/13104] error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
  2022-07-29  1:31 ` [linux-next:master 13092/13104] error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type kernel test robot
@ 2022-08-02  0:55     ` Miguel Ojeda
  0 siblings, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2022-08-02  0:55 UTC (permalink / raw)
  To: kernel test robot; +Cc: Miguel Ojeda, kbuild-all, Linux Kernel Mailing List

On Fri, Jul 29, 2022 at 3:31 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: x86_64-rhel-8.3-rust (attached as .config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
>
> 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/849

Thanks!

Cheers,
Miguel

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

* Re: [linux-next:master 13092/13104] error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type
@ 2022-08-02  0:55     ` Miguel Ojeda
  0 siblings, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2022-08-02  0:55 UTC (permalink / raw)
  To: kbuild-all

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

On Fri, Jul 29, 2022 at 3:31 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: x86_64-rhel-8.3-rust (attached as .config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
>
> 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/849

Thanks!

Cheers,
Miguel

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202207280541.fIGx210Q-lkp@intel.com>
2022-07-29  1:31 ` [linux-next:master 13092/13104] error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type kernel test robot
2022-08-02  0:55   ` Miguel Ojeda
2022-08-02  0:55     ` 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.