aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2020-06-17 09:09:39 +0800
committerAnna Schumaker <[email protected]>2020-09-21 10:21:08 -0400
commit82c596ebaa104f994d25256523ae2f9047323fe7 (patch)
tree18cc37b47fd88868840cadc91b84111ad80bc820 /tools/perf/scripts/python
parent48bb6ec17cde09122931438add817a69a91c3ab6 (diff)
nfs4: strengthen error check to avoid unexpected result
The variable error is ssize_t, which is signed and will cast to unsigned when comapre with variable size, so add a check to avoid unexpected result in case of negative value of error. Signed-off-by: Chengguang Xu <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions