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

(cherry picked from commit 21f4cf5ccf87fd15d4d71f89d4c3ecab13f26146)

Details

Provenance
weike.chen_dell.comAuthored on Jun 6 2024, 8:42 PM
wulfCommitted on Aug 1 2024, 9:09 PM
Reviewer
wulf
Differential Revision
D44604: lockdep_assert: wrong 'cond' used in WARN_ON MACRO
Parents
rGeb3e82e91761: LinuxKPI: Stub sysfs_remove_link in linux/sysfs.h
Branches
Unknown
Tags
Unknown