]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 25 Oct 2012 16:21:37 +0000 (17:21 +0100)
commit16f35375029dfbc5760019c00183d295a89ec4d7
treedb4af936af1f3a81c48729433d3232792038b52e
parent68de382ec74d934b71720850b9fe6ad5f205861a
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