Dan Carpenter 4fd2c20d96 kcore: fix test for end of list
"m" is never NULL here.  We need a different test for the end of list
condition.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-24 16:31:22 -07:00
..
2010-03-06 11:26:29 -08:00
2010-03-24 16:31:22 -07:00
2009-05-15 15:32:45 +02:00
2009-10-29 07:39:25 -07:00
2007-10-17 08:42:48 -07:00
2009-09-23 07:39:29 -07:00
2009-12-16 12:19:59 +01:00
2009-01-05 12:27:44 +03:00
2010-03-03 13:00:18 -05:00
2010-03-06 11:26:24 -08:00