diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-21 20:18:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-21 20:18:32 -0700 |
commit | 7e5302e77c29b0dcf4d9188a1d4bf682d73de8b4 (patch) | |
tree | 7425255e4b5300548da1219314d3ba0747d079b2 /mm | |
parent | 95acaabaf0463874f4dd18983b6b04e2eb83699f (diff) | |
download | history-7e5302e77c29b0dcf4d9188a1d4bf682d73de8b4.tar.gz |
sparse: clean up warning in swapfile.c
Diffstat (limited to 'mm')
-rw-r--r-- | mm/swapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 154d05795678d1..6422f1b8d810f4 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -652,7 +652,7 @@ static int try_to_unuse(unsigned int type) * open() method called) - so swap entries may be invisible * to swapoff for a while, then reappear - but that is rare. */ - while ((i = find_next_to_unuse(si, i))) { + while ((i = find_next_to_unuse(si, i)) != 0) { if (signal_pending(current)) { retval = -EINTR; break; |