]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i40e: fix build warnings in i40e_alloc.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2023 15:10:11 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 08:35:24 +0000 (10:35 +0200)
commitb7ce20d76fb74a5a75c8455f9fcf1ce4ce103f19
tree8aee4763c44dc3e9e704813e666d46677d613bd2
parentd1e5e69dc90c5c43f6fcc0f780baca100e972701
i40e: fix build warnings in i40e_alloc.h

Not upstream as it was fixed in a much larger api change in newer
kernels.

gcc-13 rightfully complains that enum is not the same as an int, so fix
up the function prototypes in i40e_alloc.h to be correct, solving a
bunch of build warnings.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/i40e/i40e_alloc.h