summaryrefslogtreecommitdiff
path: root/drivers/staging/et131x
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2012-10-30 19:42:31 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-31 21:49:09 (GMT)
commit26907840e63b3187266db1865e76ea9e98b01b19 (patch)
tree434099979468212dba48e2f209f75c6369611eef /drivers/staging/et131x
parent37b51fdddf64e7ba0971d070428655f8d6f36578 (diff)
downloadlinux-fsl-qoriq-26907840e63b3187266db1865e76ea9e98b01b19.tar.xz
staging: zram: handle mem suffixes in disk size zram_sysfs parameter
Use memparse() to allow mem suffixes in disksize sysfs number. Examples: echo 256K > /sys/block/zram0/disksize echo 512M > /sys/block/zram0/disksize echo 1G > /sys/block/zram0/disksize Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Reviewed-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/et131x')
0 files changed, 0 insertions, 0 deletions