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
jhbCommitted on Mar 22 2023, 10:27 PM
Reviewer
hselasky
Differential Revision
D28762: ofed: quiet gcc -Wint-in-bool-context
Parents
rGf59113f9f672: smartpqi: Remove stray declaration
Branches
Unknown
Tags
Unknown