]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[golan] Add explicit type casts for nodnic_queue_pair_type
authorMichael Brown <mcb30@ipxe.org>
Sat, 27 Jun 2020 19:43:32 +0000 (20:43 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 27 Jun 2020 20:16:07 +0000 (21:16 +0100)
commit8a1d66c7aec020f3e90254ed2fa55ecd9494fcc3
tree1d21900ee03925bb79c5cd230a68155eb49be657
parent28cf9806d1632d378485005babec295da0c77fcf
[golan] Add explicit type casts for nodnic_queue_pair_type

GCC 10 emits warnings for implicit conversions of enumerated types.

The flexboot_nodnic code defines nodnic_queue_pair_type with values
identical to those of ib_queue_pair_type, and implicitly casts between
them.  Add an explicit cast to fix the warning.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/flexboot_nodnic.c