Skip to content

Ioctl generation with linux HEAD fails #56

@sunfishcode

Description

@sunfishcode

@joshtriplett As a followup to #53, I was investigating running the generator script with linux HEAD, but I'm hitting this error:

list.c: In function ‘list’:
include/linux/ext4.h:47:54: error: invalid application of ‘sizeof’ to incomplete type ‘struct compat_ext4_new_group_input’
   47 | #define EXT4_IOC32_GROUP_ADD            _IOW('f', 8, struct `)
      |                                                      ^~~~~~

It seems compat_ext4_new_group_input isn't defined in the uapi headers, but EXT4_IOC32_GROUP_ADD isn't usable without it. Should compat_ext4_new_group_input be moved into uapi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions