You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust: fix bug where unsafe expressions didn't require unsafe block.
In the `init_with_lockdep` macro, the macros were evaluated inside an
unsafe block, so they could contain unsafe operations without requiring
an explicit unsafe block on the call site.
Fixed by evaluating `$obj` and `$name` outside an unsafe block.
Reported-by: Sven Van Asbroeck <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
0 commit comments