]> git.baikalelectronics.ru Git - kernel.git/commit
mm/madvise.c: make madvise_behaviour_valid() return bool
authorNicholas Krause <xerofoify@gmail.com>
Fri, 4 Sep 2015 22:48:24 +0000 (15:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit6050bf089cb5ada4298ac8b2f71547ef6eb33dff
treeff4d12fc524d1701747946ee3a87d8dc4b453dd0
parent4a421cc29815eb878e9d59857984278a4615a35d
mm/madvise.c: make madvise_behaviour_valid() return bool

This makes the madvise_bahaviour_valid() function return bool due to
this particular function always returning the value of either one or
zero as its return value.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/madvise.c