diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-04-08 07:55:03 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-08 07:55:03 -0700 |
commit | ef00227cce638b1ca8bd8c04d342a8688b7400e9 (patch) | |
tree | 0679d66f9bb83e5bc02c69b0d3649190a0abc2eb | |
parent | a04dcd98a4ecbee3b8a289732137a69d1fb47f15 (diff) | |
parent | 343f7e30c178614b4f7413c55c0442fc8424043d (diff) |
Merge "clk: msm: osm: Update maximum number of bytes to read from buffer"
-rw-r--r-- | drivers/clk/msm/clock-osm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/msm/clock-osm.c b/drivers/clk/msm/clock-osm.c index eb72217b9b1c..a1635bad3bb0 100644 --- a/drivers/clk/msm/clock-osm.c +++ b/drivers/clk/msm/clock-osm.c @@ -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 @@ -2868,7 +2868,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); |