]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/zbud.c: make size unsigned like unique callsite
authorFabian Frederick <fabf@skynet.be>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
commit4301fc633a4884bf1de818629c50723fd8e15103
treeeeaa20e2a591a0a276f94dae832c00194336e383
parente8d358ac99601a71d9a789b476ac42cc386a8207
mm/zbud.c: make size unsigned like unique callsite

zbud_alloc is only called by zswap_frontswap_store with unsigned int len.
Change function parameter + update >= 0 check.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Seth Jennings <sjennings@variantweb.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/zbud.h
mm/zbud.c