diff options
| author | 2015-06-05 12:22:57 +0300 | |
|---|---|---|
| committer | 2015-06-08 12:39:01 -0700 | |
| commit | b815555df8ede8aca07ff72d3fbe7727a008620e (patch) | |
| tree | bace3871e115c4961626cfeaeaf4f76df99ca51c /tools/perf/scripts/python/bin | |
| parent | staging: lustre: fixed const warnings (struct seq_operations should be const in these contexts) (diff) | |
Staging: lustre: ptlrpc: signedness bug in high_priority_ratio_store()
We want to store a non-negative int here. The original code had a check
for unsigned long less than zero which is a mistake but also casting
from a positive long to an int can result in a negative number.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
