aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2018-04-11 17:22:43 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-23 13:14:55 +0200
commit3e14c6abbfb5c94506edda9d8e2c145d79375798 (patch)
tree08c20e52fcc976652b64b9e775b70a28adf4ef30 /lib/memory-notifier-error-inject.c
parentdf9267f1fb6b56fa573cc93c611009b0bd126878 (diff)
kobject: don't use WARN for registration failures
This WARNING proved to be noisy. The function still returns an error and callers should handle it. That's how most of kernel code works. Downgrade the WARNING to pr_err() and leave WARNINGs for kernel bugs. Signed-off-by: Dmitry Vyukov <[email protected]> Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Reported-by: [email protected] Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions