]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sysctl: flip file position warning to pr_warn_once
authorKees Cook <keescook@chromium.org>
Thu, 22 May 2014 00:44:11 +0000 (10:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:44:11 +0000 (10:44 +1000)
commitc4a3d8a1bd9d7d3d2a1a41d6eca182bd7c050682
tree8f5d763f1b06edf6c93431e83435f47a2438258e
parent2ae7bf769cd1534c0466fd82f78ad7c9f10f3b5a
sysctl: flip file position warning to pr_warn_once

To avoid dmesg flooding, use pr_warn_once instead of pr_warn.

Signed-off-by: Kees Cook <keescook@chromium.org>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/sysctl.c