HomeFreeBSD

LinuxKPI: lockdep_assert: wrong 'cond' used in WARN_ON MACRO

Description

LinuxKPI: lockdep_assert: wrong 'cond' used in WARN_ON MACRO

'cond' in WARN_ON need be bracketed,
otherwise it is wrong for multiple conditions.

Reviewed by: wulf
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44604

Details

Provenance
weike.chen_dell.comAuthored on Thu, Jun 6, 8:42 PM
wulfCommitted on Thu, Jun 6, 8:42 PM
Reviewer
wulf
Differential Revision
D44604: lockdep_assert: wrong 'cond' used in WARN_ON MACRO
Parents
rGf042e1515433: pf: add sctp multihome probe points
Branches
Unknown
Tags
Unknown