summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorBobi Jam <bobijam.xu@intel.com>2017-07-26 18:37:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-30 18:04:10 +0300
commit132d25de6112733f17e1f992a997a17fb510f4a3 (patch)
tree579a0ac9fffa8b4295c15e34d3dbe5fea071b18e /include/linux/platform_data
parent9afdc07eb7e7e50ff6a6064bca5834b6cae1c2f4 (diff)
downloadlinux-132d25de6112733f17e1f992a997a17fb510f4a3.tar.xz
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 <bobijam.xu@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8773 Reviewed-on: https://review.whamcloud.com/23461 Reviewed-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions