diff options
author | Brian Norris <[email protected]> | 2015-02-28 02:23:28 -0800 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2015-03-26 12:07:18 +0100 |
commit | 299d0c5b27346a77a0777c993372bf8777d4f2e5 (patch) | |
tree | aa5dff687c0e59fab18acb493c3350559aebb733 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f16db8071ce18819fbd705ddcc91c6f392fb61f8 (diff) |
UBI: fix check for "too many bytes"
The comparison from the previous line seems to have been erroneously
(partially) copied-and-pasted onto the next. The second line should be
checking req.bytes, not req.lnum.
Coverity CID #139400
Cc: stable <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
[rw: Fixed comparison]
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions