[dpdk-stable] [dpdk-dev] [PATCH] common/octeontx: fix GCC 9.1 ABI break

Thomas Monjalon thomas at monjalon.net
Wed May 6 23:51:26 CEST 2020


05/05/2020 12:33, Ferruh Yigit:
> On 5/4/2020 10:17 AM, Harman Kalra wrote:
> > On Sat, May 02, 2020 at 09:40:31PM +0530, pbhagavatula at marvell.com wrote:
> >> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> >>
> >> GCC 9.1 fixes a bug with passing bitfields as pass by value in function
> >> parameters and generates a warning for the same as below:
> >>
> >> drivers/common/octeontx/octeontx_mbox.c:282:1: note: parameter passing
> >> for argument of type ‘struct mbox_intf_ver’ changed in GCC 9.1
> >>
> >> Fix the warning generated by passing bitfield as pass by reference.
> >>
> >> Fixes: b4134b2d31cc ("common/octeontx: update mbox to version 1.1.3")
> >> Cc: stable at dpdk.org
> >>
> >> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> > 
> > Acked-by: Harman Kalra <hkalra at marvell.com>
> 
> Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks




More information about the stable mailing list