diff options
| author | Bobi Jam <[email protected]> | 2017-07-26 11:37:58 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-30 08:04:10 -0700 |
| commit | 132d25de6112733f17e1f992a997a17fb510f4a3 (patch) | |
| tree | 579a0ac9fffa8b4295c15e34d3dbe5fea071b18e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 9afdc07eb7e7e50ff6a6064bca5834b6cae1c2f4 (diff) | |
staging: lustre: lov: use u64 instead of loff_t in lov_object_fiemap()
Change loff_t to u64 in lov_object_fiemap() since loff_t is a signed
value type.
Otherwise there could be an overflow in
drivers/staging/lustre/lustre/lov/lov_object.c:1241 lov_object_fiemap()
warn: signed overflow undefined. 'fm_start + fm_length < fm_start'
Signed-off-by: Bobi Jam <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8773
Reviewed-on: https://review.whamcloud.com/23461
Reviewed-by: James Simmons <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Jinshan Xiong <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions