HomeFreeBSD

ofed: quiet gcc -Wint-in-bool-context

Description

ofed: quiet gcc -Wint-in-bool-context

The int in the argument to the ternary triggered -Wint-in-bool-context
from gcc. Upstream linux has a larger and more entangled patch,
12f727721eee61b3d19dedb95cb893b2baa9fe41, which doesn't apply cleanly.
When we eventually sync that, we can just drop this change.

Reviewed by: hselasky, imp, kib
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D28762

(cherry picked from commit bf667f282a7b98e7456d11e1cb46d9707ab8e774)

Details

Provenance
rlibbyAuthored on Feb 24 2021, 11:56 PM
Reviewer
hselasky
Differential Revision
D28762: ofed: quiet gcc -Wint-in-bool-context
Parents
rG3f65cb8fda02: bhyvectl: print a better error message when vm_open() fails
Branches
Unknown
Tags
Unknown