login
Header Space

 
 

Re: [PATCH] kernel/capability.c get_task_comm compile error (MMOTM)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Erez Zadok <ezk@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, Ulrich Drepper <drepper@...>, Roland McGrath <roland@...>, Andrew G. Morgan <morgan@...>, Casey Schaufler <casey@...>, Chris Wright <chrisw@...>, James Morris <jmorris@...>, Serge Hallyn <serue@...>, Stephen Smalley <sds@...>
Date: Sunday, November 11, 2007 - 10:15 am

* Erez Zadok <ezk@cs.sunysb.edu> wrote:



that's buggy - get_task_comm() returns void.

the proper fix would be to first do a get_task_comm() then pass in 
'name' as an argument to printk.

	Ingo
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] kernel/capability.c get_task_comm compile error ..., Ingo Molnar, (Sun Nov 11, 10:15 am)
speck-geostationary