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

Details

Provenance
rlibbyAuthored on Feb 24 2021, 11:56 PM
Reviewer
hselasky
Differential Revision
D28762: ofed: quiet gcc -Wint-in-bool-context
Parents
rGd8404b7ec36d: ddb: just move cursor when the lexer backs up
Branches
Unknown
Tags
Unknown