Skip to content

include/linux/fwnode.h: Exclude fwnode structs from KABI

Prarit Bhargava requested to merge prarit/centos-stream-9:2033388 into main

Bugzilla: https://bugzilla.redhat.com/2033388
Depends: https://bugzilla.redhat.com/2024595

Upstream Status: RHEL9 only

It is not possible to exclude the fwnode_handle struct from KABI
calculations because it is embedded in the of code's device_node struct
which is used in aarch64 and ppc64le.

Pad the fwnode_handle struct, and exclude the fwnode_operations struct
from KABI.

To make this commit easier to find in future string searches:
RH_KABI kabi rh_kabi.

Signed-off-by: Prarit Bhargava prarit@redhat.com

Edited by Prarit Bhargava

Merge request reports