public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the idle-test tree
@ 2010-05-28  2:53 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2010-05-28  2:53 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-next, linux-kernel

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

Hi Len,

After merging the idle-test tree, today's linux-next build (x86_64
allmodconfig) produced these warning:

drivers/idle/intel_idle.c:115: warning: missing braces around initializer
drivers/idle/intel_idle.c:115: warning: (near initialization for 'nehalem_cstates[0].name')
drivers/idle/intel_idle.c:115: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:115: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:125: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:125: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:126: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:126: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:127: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:127: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:128: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:128: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:132: warning: missing braces around initializer
drivers/idle/intel_idle.c:132: warning: (near initialization for 'atom_cstates[0].name')
drivers/idle/intel_idle.c:132: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:132: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:139: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:139: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:145: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:145: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:147: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:147: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:153: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:153: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:155: warning: initialization makes integer from pointer without a cast
drivers/idle/intel_idle.c:155: warning: initialization makes integer from pointer without a cast

Introduced by commit dc81ce2e1b88c58e011971ab584ffb70a5caf887
("intel_idle: create a native cpuidle driver for select intel
processors").  You can't initialise a char[] with NULL ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-28  2:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  2:53 linux-next: build warnings after merge of the idle-test tree Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox