linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: rr tree build warning
@ 2009-11-12  8:21 Stephen Rothwell
  2009-11-12 13:15 ` Rusty Russell
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2009-11-12  8:21 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel, Alan Jenkins

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

Hi Rusty,

Today's linux-next build (i386 defconfig) produced this warning:

kernel/module.c:1953: warning: 'crc_section_names' defined but not used

Introduced by commit 67260d90118a2394df528fe4e37e814d950ca5b5 ("module:
refactor symbol tables and try to reduce code size of each_symbol()").
This build has CONFIG_MODVERSIONS disabled.

-- 
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] 10+ messages in thread
* linux-next: rr tree build warning
@ 2009-12-16  3:58 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2009-12-16  3:58 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel

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

Hi Rusty,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

usr/include/linux/kernel.h:53: userspace cannot call function or variable defined in the kernel

(it is the line "extern int __build_bug_on_failed;")

Introduced by commit 3cab06406acbf7f86f443bbde56e28f8047c75b6
("misc:enhance-BUILD_BUG_ON").

-- 
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] 10+ messages in thread
* linux-next: rr tree build warning
@ 2009-06-09  6:26 Stephen Rothwell
  2009-06-10  6:40 ` Rusty Russell
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2009-06-09  6:26 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel

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

Hi Rusty,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1287: warning: passing argument 1 of 'check_supported_cpu' makes pointer from integer without a cast
arch/x86/kernel/cpu/cpufreq/powernow-k8.c:514: note: expected 'void *' but argument is of type 'unsigned int'

Introduced by commit b3594a9ce5fb32533084ec75f1954c93f461591d ("cpumask:
avoid playing with cpus_allowed in powernow-k8.c").

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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: rr tree build warning
@ 2009-01-08  4:54 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2009-01-08  4:54 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next

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

Hi Rusty,

Today's linux-next build (powerpc allnoconfig) produced this new warning:

kernel/workqueue.c: In function 'current_is_keventd':
kernel/workqueue.c:742: warning: unused variable 'cpu'

A UP config interacting with per_cpu_ptr()?

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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: rr tree build warning
@ 2008-12-04 23:42 Stephen Rothwell
  0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2008-12-04 23:42 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: rr tree build warning
@ 2008-10-24  2:34 Stephen Rothwell
  2008-10-24  3:44 ` Rusty Russell
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2008-10-24  2:34 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next

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

Hi Rusty,

Today's linux-next build (powerpc ppc64_defconfig) got this warning:

kernel/workqueue.c: In function 'work_on_cpu':
kernel/workqueue.c:1009: warning: passing argument 1 of 'flush_workqueue' from incompatible pointer type

You are passing a "struct work_struct *" to fluxh_workqueue which wants a
"struct workqueue_struct *".

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

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

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

end of thread, other threads:[~2009-12-16  3:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-12  8:21 linux-next: rr tree build warning Stephen Rothwell
2009-11-12 13:15 ` Rusty Russell
  -- strict thread matches above, loose matches on Subject: below --
2009-12-16  3:58 Stephen Rothwell
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-12-04 23:42 Stephen Rothwell
2008-10-24  2:34 Stephen Rothwell
2008-10-24  3:44 ` Rusty Russell

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).