diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-04-07 00:58:01 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-22 15:58:28 +1000 |
commit | c4bce84d0bd3f396f702d69be2e92bbd8af97583 (patch) | |
tree | 4817428c28e0ca3f339f26de78daaa2d6cb834b6 /Documentation/netlabel | |
parent | aa06530a535ffe8ba8b68054003b6fb262a8ec6f (diff) |
powerpc/64: Only WARN if __pa()/__va() called with bad addresses
We added checks to __pa() / __va() to ensure they're only called with
appropriate addresses. But using BUG_ON() is too strong, it means
virt_addr_valid() will BUG when DEBUG_VIRTUAL is enabled.
Instead switch them to warnings, arm64 does the same.
Fixes: 4dd7554a6456 ("powerpc/64: Add VIRTUAL_BUG_ON checks for __va and __pa addresses")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220406145802.538416-5-mpe@ellerman.id.au
Diffstat (limited to 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions