commit d6ff6e870077ae0f01a6f860ca1e4a5a825dc032 upstream.
`build_assert` relies on the compiler to optimize out its error path.
Functions using it with its arguments must thus always be inlined,
otherwise the error path of `build_assert` might not be optimized out,
triggering a build error.
Cc: stable@vger.kernel.org
Fixes:
|
||
|---|---|---|
| .. | ||
| arc | ||
| atomic | ||
| lock | ||
| arc.rs | ||
| aref.rs | ||
| atomic.rs | ||
| barrier.rs | ||
| completion.rs | ||
| condvar.rs | ||
| lock.rs | ||
| locked_by.rs | ||
| poll.rs | ||
| rcu.rs | ||
| refcount.rs | ||