Re: [PATCH] Make kthread_stop() not oops when passed a bad pointer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Richter
Date: Tuesday, August 5, 2008 - 8:57 am

Matthew Wilcox wrote:

Would
	if (WARN_ON(!k || IS_ERR(k)))

be in order, or are there valid cases of passing an invalid pointer?
-- 
Stefan Richter
-=====-==--- =--- --=-=
http://arcgraph.de/sr/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Make kthread_stop() not oops when passed a bad ..., Stefan Richter, (Tue Aug 5, 8:57 am)
[PATCH][migration] Trivial cleanup, MinChan Kim, (Tue Aug 5, 10:42 pm)
Re: [PATCH][migration] Trivial cleanup, Christoph Lameter, (Wed Aug 6, 7:25 am)