public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Rusty Russell <rusty@rustcorp•com.au>
Cc: linux-next@vger•kernel.org
Subject: linux-next: rr tree build warning
Date: Fri, 5 Dec 2008 10:42:11 +1100	[thread overview]
Message-ID: <20081205104211.374a7c2b.sfr@canb.auug.org.au> (raw)

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

Hi Rusty,

The next-20081204 build (powerpc ppc64_defconfig) produced these warnings:

include/linux/cpumask.h: In function 'set_cpu_possible':
include/linux/cpumask.h:1052: warning: passing argument 2 of 'cpumask_set_cpu' discards qualifiers from pointer target type
include/linux/cpumask.h:1054: warning: passing argument 2 of 'cpumask_clear_cpu' discards qualifiers from pointer target type
include/linux/cpumask.h: In function 'set_cpu_present':
include/linux/cpumask.h:1060: warning: passing argument 2 of 'cpumask_set_cpu' discards qualifiers from pointer target type
include/linux/cpumask.h:1062: warning: passing argument 2 of 'cpumask_clear_cpu' discards qualifiers from pointer target type
include/linux/cpumask.h: In function 'set_cpu_online':
include/linux/cpumask.h:1068: warning: passing argument 2 of 'cpumask_set_cpu' discards qualifiers from pointer target type
include/linux/cpumask.h:1070: warning: passing argument 2 of 'cpumask_clear_cpu' discards qualifiers from pointer target type

Caused by commit 38b04c5f8ddd01137b1524b126ac936d87b58213
("cpumask:cpu_online_mask-etc-as-primary") from the rr tree. Gcc (version
4.2.4) doesn't seem to let you just cast away the "const" from a variable.

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

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

             reply	other threads:[~2008-12-04 23:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 23:42 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-16  3:58 linux-next: rr tree build warning Stephen Rothwell
2009-11-12  8:21 Stephen Rothwell
2009-11-12 13:15 ` Rusty Russell
2009-06-09  6:26 Stephen Rothwell
2009-06-10  6:40 ` Rusty Russell
2009-06-10  6:46   ` Stephen Rothwell
2009-01-08  4:54 Stephen Rothwell
2008-10-24  2:34 Stephen Rothwell
2008-10-24  3:44 ` Rusty Russell

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=20081205104211.374a7c2b.sfr@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=rusty@rustcorp$(echo .)com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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