ARM: hw_breakpoint: kill WARN_ONCE usage
authorWill Deacon <will.deacon@arm.com>
Thu, 25 Oct 2012 16:18:23 +0000 (17:18 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Nov 2012 11:47:06 +0000 (11:47 +0000)
commitf435ab79928e4d54082e2838c4562a165e37999c
tree73964ce863bdc7b8e2eb0807ab5e18570437bfff
parent9e962f76602dbd293a57030f4ce5a4b57853e2ea
ARM: hw_breakpoint: kill WARN_ONCE usage

WARN_ONCE is a bit OTT for some of the simple failure cases encountered
in hw_breakpoint, so use either pr_warning or pr_warn_once instead.

Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/hw_breakpoint.c