Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697310

[PATCH 0/2] staging: lustre: lov: fix sparse errors for fiemap

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] staging: lustre: lov: fix sparse errors for fiemap
Date 2017-07-26 17:40 +0200
Message-ID <u7wzL-26U-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The following error was reported by Dan Carpenter <dan.carpenter@oracle.com>

lov_object_fiemap() has following static checker warning:
drivers/staging/lustre/lustre/lov/lov_object.c:1241 lov_object_fiemap()
warn: signed overflow undefined. 'fm_start + fm_length < fm_start'

This patch set resolves those issues.

Bobi Jam (2):
  staging: lustre: lov: use u64 instead of loff_t in lov_object_fiemap()
  staging: lustre: lov: refactor lov_object_fiemap()

 drivers/staging/lustre/lustre/lov/lov_object.c | 461 +++++++++++++------------
 1 file changed, 235 insertions(+), 226 deletions(-)

-- 
1.8.3.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] staging: lustre: lov: fix sparse errors for fiemap James Simmons <jsimmons@infradead.org> - 2017-07-26 17:40 +0200
  [PATCH 1/2] staging: lustre: lov: use u64 instead of loff_t in lov_object_fiemap() James Simmons <jsimmons@infradead.org> - 2017-07-26 17:40 +0200

csiph-web