linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the tip and rcu trees
@ 2011-12-20  7:24 Stephen Rothwell
  2011-12-20 16:27 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2011-12-20  7:24 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: linux-next, linux-kernel, Paul E. McKenney

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

kernel/debug/kdb/kdb_support.c: In function 'kdb_task_state_char':
kernel/debug/kdb/kdb_support.c:639:2: warning: passing argument 1 of 'is_idle_task' discards 'const' qualifier from pointer target type [enabled by default]
include/linux/sched.h:2097:20: note: expected 'struct task_struct *' but argument is of type 'const struct task_struct *'

Introduced by commit 7fc20c5cbdd1 ("kdb: Make KDB use the new
is_idle_task() API").

This begs the question: Why does is_idle_task() not take a "const struct task_struct *"?
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-20 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20  7:24 linux-next: build warning after merge of the tip and rcu trees Stephen Rothwell
2011-12-20 16:27 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).