Skip to content

virtio: build failure on 7.0 #1

@tobhe

Description

@tobhe

With the Ubuntu default config I get:

/<<PKGBUILDDIR>>/drivers/firmware/arm_scmi/transports/virtio.c:783:27: error: initialization of ‘bool (*)(struct fwnode_handle *, int)’ {aka ‘_Bool (*)(struct fwnode_handle *, int)’} from incompatible pointer type ‘bool (*)(struct device_node *, int)’ {aka ‘_Bool (*)(struct device_node *, int)’} [-Wincompatible-pointer-types]
  783 |         .chan_available = virtio_chan_available,
      |                           ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/drivers/firmware/arm_scmi/transports/virtio.c:783:27: note: (near initialization for ‘scmi_virtio_ops.chan_available’)
/<<PKGBUILDDIR>>/drivers/firmware/arm_scmi/transports/virtio.c:376:13: note: ‘virtio_chan_available’ declared here
  376 | static bool virtio_chan_available(struct device_node *of_node, int idx)
      |             ^~~~~~~~~~~~~~~~~~~~~

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