common/octeontx: fix gcc 9.1 ABI break
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sat, 2 May 2020 16:10:31 +0000 (21:40 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 May 2020 21:53:19 +0000 (23:53 +0200)
commit838d94399b18f26beb1a39998bb9503b38c4a093
treee69bce35c7ba6ee703726ae381ddb3e6d6f32edf
parent52b66b2f208aea74e5fc3b004c1e14056bb22970
common/octeontx: fix gcc 9.1 ABI break

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@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Harman Kalra <hkalra@marvell.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/common/octeontx/octeontx_mbox.c