diff options
author | Andy Shevchenko <[email protected]> | 2015-01-07 22:37:20 +0200 |
---|---|---|
committer | Brian Norris <[email protected]> | 2015-01-09 15:26:29 -0800 |
commit | 768c57c8d7df479aa27330d629b4e41f9c19b22c (patch) | |
tree | 183fa4d0d6a0b3f9e0bfc87861a5138979a77e46 /tools/perf/scripts/python | |
parent | 57f5ef14a5ffbf4bad7d761e844efede21a1c975 (diff) |
mtd: nftl: reorganize operations in condition check
We need to compare ret variable for negative value. The current code
assigns the boolean to the ret and prints it wrongly in the warning
message.
Reported-by: Andrey Karpov <[email protected]>
Cc: Giel van Schijndel <[email protected]>
Cc: Dimitri Gorokhovik <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions