Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106065
b: refs/heads/master
c: 73789a3
h: refs/heads/master
i:
  106063: 44741cb
v: v3
  • Loading branch information
Bruce Leonard authored and Artem Bityutskiy committed Jul 24, 2008
1 parent c8111d6 commit 9187094
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23add7455c42eef63f8719bd268328047d4aed69
refs/heads/master: 73789a3d9fd8e500e121c1d4a5a2b16dd748ab5f
3 changes: 2 additions & 1 deletion trunk/drivers/mtd/ubi/cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ static int vol_cdev_ioctl(struct inode *inode, struct file *file,
break;
}

rsvd_bytes = vol->reserved_pebs * (ubi->leb_size-vol->data_pad);
rsvd_bytes = (long long)vol->reserved_pebs *
ubi->leb_size-vol->data_pad;
if (bytes < 0 || bytes > rsvd_bytes) {
err = -EINVAL;
break;
Expand Down

0 comments on commit 9187094

Please sign in to comment.