summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket/gasket_ioctl.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_ioctl.c
parent040c626008e9e2f332caf16f25f2ca708cfcc480 (diff)
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_ioctl.c')
-rw-r--r--drivers/staging/gasket/gasket_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/gasket/gasket_ioctl.c b/drivers/staging/gasket/gasket_ioctl.c
index 8cf094b90cdb..63e139ab7ff8 100644
--- a/drivers/staging/gasket/gasket_ioctl.c
+++ b/drivers/staging/gasket/gasket_ioctl.c
@@ -73,7 +73,7 @@ long gasket_handle_ioctl(struct file *filp, uint cmd, void __user *argp)
}
} else if (!gasket_ioctl_check_permissions(filp, cmd)) {
trace_gasket_ioctl_exit(-EPERM);
- gasket_log_error(gasket_dev, "ioctl cmd=%x noperm.", cmd);
+ gasket_log_debug(gasket_dev, "ioctl cmd=%x noperm.", cmd);
return -EPERM;
}
@@ -132,7 +132,7 @@ long gasket_handle_ioctl(struct file *filp, uint cmd, void __user *argp)
* the arg.
*/
trace_gasket_ioctl_integer_data(arg);
- gasket_log_warn(
+ gasket_log_debug(
gasket_dev,
"Unknown ioctl cmd=0x%x not caught by "
"gasket_is_supported_ioctl",
@@ -329,7 +329,7 @@ static int gasket_partition_page_table(
gasket_dev->page_table[ibuf.page_table_index]);
if (ibuf.size > max_page_table_size) {
- gasket_log_error(
+ gasket_log_debug(
gasket_dev,
"Partition request 0x%llx too large, max is 0x%x.",
ibuf.size, max_page_table_size);