]> git.karo-electronics.de Git - linux-beck.git/commit
mm/zbud.c: make size unsigned like unique callsite
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Jun 2014 23:11:07 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:13 +0000 (16:54 -0700)
commit50417c55562c03e6746b13aee650c2bbb048fea3
tree986c01bd15db89953aca177bd91653029aa137ed
parent38515c73398a4c58059ecf1087e844561b58ee0f
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/zbud.h
mm/zbud.c