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

Ferruh Yigit ferruh.yigit at intel.com
Tue May 5 12:33:58 CEST 2020


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>


More information about the dev mailing list