Skip to content

struct_ops: value type should allow nested structs and unions #1880

@lmb

Description

@lmb

We should not error here, just ignore it.

There are struct ops which have nested structs such as struct tcp_congestion_ops. When working with a definition copied from sources or vmlinux.h, you hit this.

Originally posted by @dylandreimerink in #1845 (comment)

The fix is to make the copy function recursive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions