On Thu, Oct 24, 2024 at 11:30 AM Timothy Redaelli <tredaelli@redhat.com> wrote:
>
> Currently, a number of integer types are typedef'd to their corresponding
> userspace or RTE values. This can be problematic if these types are
> already defined somewhere else, as it would cause type collisions.
> This patch changes the typedefs to #define macros which are only defined
> if the types are not defined already.
>
> Fixes: 5ef518098ec6 ("net/ionic: register and initialize adapter")
>
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Copying driver maintainer.
The patch lgtm on the principle.
> ---
> Backport of f0d9e787747d ("net/gve/base: fix build with Fedora Rawhide")
> is also needed on stable branches. My commit is not needed on
> main since it was fixed silently in 484027bf9452 ("common/ionic: create common
> code library").
> ---
Indeed, it is a pity this got mixed in the mentionned commit.
This may be needed in others LTS.
Copying Luca and Kevin.
--
David Marchand