Page MenuHomeFreeBSD

lockdep_assert: wrong 'cond' used in WARN_ON MACRO
ClosedPublic

Authored by weike.chen_dell.com on Apr 3 2024, 3:27 AM.
Tags
None
Referenced Files
F102709534: D44604.diff
Sat, Nov 16, 4:35 AM
Unknown Object (File)
Oct 2 2024, 12:24 PM
Unknown Object (File)
Sep 30 2024, 2:33 PM
Unknown Object (File)
Sep 29 2024, 10:00 AM
Unknown Object (File)
Sep 9 2024, 1:23 AM
Unknown Object (File)
Sep 8 2024, 4:29 AM
Unknown Object (File)
Aug 30 2024, 10:01 AM
Unknown Object (File)
Aug 30 2024, 10:01 AM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable