Commit bcd1edea authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvmf: replace off_t with uint64_t



The offset variable is used to store the result of a uint64_t * uint32_t
multiplication; a signed integer is not the correct type for the result.

Change-Id: If1fb22314ba7e3cec91808cc051678f809c9e58b
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent a87d8a45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -387,7 +387,7 @@ nvmf_virtual_ctrlr_rw_cmd(struct spdk_bdev *bdev, struct spdk_io_channel *ch,
	uint64_t lba_address;
	uint64_t blockcnt;
	uint64_t io_bytes;
	off_t offset;
	uint64_t offset;
	uint64_t llen;
	struct spdk_nvme_cmd *cmd = &req->cmd->nvme_cmd;
	struct spdk_nvme_cpl *response = &req->rsp->nvme_cpl;