This is a note to let you know that I've just added the patch titled i40iw: fix build warning in i40iw_manage_apbvt() to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: i40iw-fix-build-warning-in-i40iw_manage_apbvt.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Fri Jun 9 04:58:27 PM CEST 2023 Date: Fri, 09 Jun 2023 16:58:27 +0200 To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Subject: i40iw: fix build warning in i40iw_manage_apbvt() Not upstream as this function is no longer around anymore. The function i40iw_manage_apbvt() has the wrong prototype match from the .h file to the .c declaration, so fix it up, otherwise gcc-13 complains (rightfully) that the type is incorrect. Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/infiniband/hw/i40iw/i40iw.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/drivers/infiniband/hw/i40iw/i40iw.h +++ b/drivers/infiniband/hw/i40iw/i40iw.h @@ -422,9 +422,8 @@ void i40iw_manage_arp_cache(struct i40iw bool ipv4, u32 action); -int i40iw_manage_apbvt(struct i40iw_device *iwdev, - u16 accel_local_port, - bool add_port); +enum i40iw_status_code i40iw_manage_apbvt(struct i40iw_device *iwdev, + u16 accel_local_port, bool add_port); struct i40iw_cqp_request *i40iw_get_cqp_request(struct i40iw_cqp *cqp, bool wait); void i40iw_free_cqp_request(struct i40iw_cqp *cqp, struct i40iw_cqp_request *cqp_request); Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.10/remove-the-sx8-block-driver.patch queue-5.10/bonding-gcc13-synchronize-bond_-a-t-lb_xmit-types.patch queue-5.10/f2fs-fix-iostat-lock-protection.patch queue-5.10/gcc-plugins-reorganize-gimple-includes-for-gcc-13.patch queue-5.10/sfc-gcc13-synchronize-ef100_enqueue_skb-s-return-type.patch queue-5.10/blk-iocost-avoid-64-bit-division-in-ioc_timer_fn.patch queue-5.10/i40iw-fix-build-warning-in-i40iw_manage_apbvt.patch queue-5.10/block-blk-iocost-gcc13-keep-large-values-in-a-new-enum.patch queue-5.10/ata-ahci-fix-enum-constants-for-gcc-13.patch