mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Len Brown <lenb@kernel.org>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: linux-next: build warnings after merge of the idle-test tree
Date: Fri, 28 May 2010 12:53:38 +1000	[thread overview]
Message-ID: <20100528125338.b9a295ff.sfr@canb.auug.org.au> (raw)

[-- 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 --]

                 reply	other threads:[~2010-05-28  2:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100528125338.b9a295ff.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®