Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281311
b: refs/heads/master
c: 04e7bba
h: refs/heads/master
i:
  281309: 25e1b83
  281307: 8c284c3
  281303: f09efa7
  281295: d7b0b2c
  281279: ed15316
v: v3
  • Loading branch information
Sergey Datsevich authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 287a85f commit ceabfdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6e8087a4fae41ae1518babbf1ef46f105d702bfd
refs/heads/master: 04e7bbad44c1a0c449719f90d507d13e015f1444
6 changes: 3 additions & 3 deletions trunk/drivers/staging/zram/zram_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static ssize_t disksize_store(struct device *dev,
u64 disksize;
struct zram *zram = dev_to_zram(dev);

ret = strict_strtoull(buf, 10, &disksize);
ret = kstrtoull(buf, 10, &disksize);
if (ret)
return ret;

Expand Down Expand Up @@ -88,7 +88,7 @@ static ssize_t reset_store(struct device *dev,
struct device_attribute *attr, const char *buf, size_t len)
{
int ret;
unsigned long do_reset;
unsigned short do_reset;
struct zram *zram;
struct block_device *bdev;

Expand All @@ -99,7 +99,7 @@ static ssize_t reset_store(struct device *dev,
if (bdev->bd_holders)
return -EBUSY;

ret = strict_strtoul(buf, 10, &do_reset);
ret = kstrtou16(buf, 10, &do_reset);
if (ret)
return ret;

Expand Down

0 comments on commit ceabfdb

Please sign in to comment.