NTB: Change WARN_ON_ONCE to pr_warn_once on unsafe
authorDave Jiang <dave.jiang@intel.com>
Mon, 15 Jun 2015 12:22:30 +0000 (08:22 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 4 Jul 2015 18:09:30 +0000 (14:09 -0400)
commitfd839bf88485878ec602dbb3146fd44769eb3784
treec19299e08d3b0d1ff0d4e69f99b53db0ef918d31
parent7eb387813db6730a5793cd53077b4039d948d17f
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: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_intel.c