diff options
| author | Lars-Peter Clausen <[email protected]> | 2011-12-19 15:23:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-12-22 13:38:07 -0800 |
| commit | e38c79e0825b673d97cecfb36bae9e859e724f1b (patch) | |
| tree | dd36c49256e390391012c5185ace25ffe2aaa374 /tools/perf/scripts/python | |
| parent | 5fd6218ca5928e4b59eb8a496aa1428fae1fb0d6 (diff) | |
staging:iio: Disallow modifying buffer size when buffer is enabled
The buffer buffer storage is only update when enabling the buffer. Changing the
buffer size while the buffer is enabled will confuse the buffer in regard to
its actual buffer size and can cause potential memory corruption. Thus it is
only safe to modify the buffer size when the buffer is disabled.
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions