aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket/gasket_core.c
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2018-07-21 06:35:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-24 13:56:46 +0200
commit1d079f20d5aaab58ac6ccc3afd849f7ccebf28a1 (patch)
tree570b93eb90f342922ac502f1cf36f84fa1f3b0b7 /drivers/staging/gasket/gasket_core.c
parentstaging: gasket: interrupts: convert various logs to debug level (diff)
downloadlinux-dev-1d079f20d5aaab58ac6ccc3afd849f7ccebf28a1.tar.xz
linux-dev-1d079f20d5aaab58ac6ccc3afd849f7ccebf28a1.zip
staging: gasket: ioctl common: convert various logs to debug level
Debugging information is improperly logged at non-debug log level in a number of places, and some logs regarding error conditions may be generated too frequently, such that these could cause performance problems and/or obscure other logs. Convert these to debug log level. Signed-off-by: Zhongze Hu <frankhu@chromium.org> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gasket/gasket_core.c')
-rw-r--r--drivers/staging/gasket/gasket_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c
index 1d04fd0990e4..732218773c3c 100644
--- a/drivers/staging/gasket/gasket_core.c
+++ b/drivers/staging/gasket/gasket_core.c
@@ -1801,7 +1801,7 @@ static long gasket_ioctl(struct file *filp, uint cmd, ulong arg)
if (driver_desc->ioctl_handler_cb)
return driver_desc->ioctl_handler_cb(filp, cmd, argp);
- gasket_log_error(
+ gasket_log_debug(
gasket_dev, "Received unknown ioctl 0x%x", cmd);
return -EINVAL;
}