Skip to content
Commit fd839bf8 authored by Dave Jiang's avatar Dave Jiang Committed by Jon Mason
Browse files

NTB: Change WARN_ON_ONCE to pr_warn_once on unsafe



The unsafe doorbell and scratchpad access should display reason when
WARN is called.  Otherwise we get a stack dump without any explanation.

Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 7eb38781
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment