]> git.baikalelectronics.ru Git - kernel.git/commit
page-types: unsigned cannot be less than 0 in add_page()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 15 Dec 2009 01:57:49 +0000 (17:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:11 +0000 (08:53 -0800)
commit1578a223ba399770dd154f5901270d1d69aa396b
tree441b938316c4de34c34784463836ea52e455c465
parent4143d788c766cccdc4a8a6cbe51d68bed59788c7
page-types: unsigned cannot be less than 0 in add_page()

If not signed, testing of the read() return value in this function
will not work.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/vm/page-types.c