Merge "clk: qcom: osm: Update maximum number of bytes to read from buffer"
This commit is contained in:
commit
2a7776a7f1
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -2691,7 +2691,7 @@ static ssize_t debugfs_trace_method_get(struct file *file, char __user *buf,
|
|||
else if (c->trace_method == XOR_PACKET)
|
||||
len = snprintf(debug_buf, sizeof(debug_buf), "xor\n");
|
||||
|
||||
rc = simple_read_from_buffer((void __user *) buf, len, ppos,
|
||||
rc = simple_read_from_buffer((void __user *) buf, count, ppos,
|
||||
(void *) debug_buf, len);
|
||||
|
||||
mutex_unlock(&debug_buf_mutex);
|
||||
|
|
Loading…
Add table
Reference in a new issue