linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New compiler warning: 2.6.4->2.6.5
@ 2004-04-06  3:04 John Cherry
  2004-04-06  3:10 ` Randy.Dunlap
  2004-04-06 17:18 ` Luiz Fernando N. Capitulino
  0 siblings, 2 replies; 5+ messages in thread
From: John Cherry @ 2004-04-06  3:04 UTC (permalink / raw)
  To: linux-kernel

9 new compiler warnings between 2.6.4 and 2.6.5.

gcc: 3.2.2
arch: i386

drivers/acpi/events/evmisc.c:143: warning: too many arguments for format
drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. -
copy*user in cli"
drivers/char/watchdog/cpu5wdt.c:305: warning: initialization discards
qualifiers from pointer target type
drivers/char/watchdog/cpu5wdt.c:305: warning: return discards qualifiers
from pointer target type
drivers/media/dvb/frontends/tda1004x.c:191: warning: `errno' defined but
not used
drivers/pcmcia/i82365.c:71: warning: `version' defined but not used
drivers/pcmcia/tcic.c:64: warning: `version' defined but not used
sound/isa/wavefront/wavefront_synth.c:1923: warning: `errno' defined but
not used
sound/oss/wavfront.c:2498: warning: `errno' defined but not used

John




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

* Re: New compiler warning: 2.6.4->2.6.5
  2004-04-06  3:04 New compiler warning: 2.6.4->2.6.5 John Cherry
@ 2004-04-06  3:10 ` Randy.Dunlap
  2004-04-06 17:18 ` Luiz Fernando N. Capitulino
  1 sibling, 0 replies; 5+ messages in thread
From: Randy.Dunlap @ 2004-04-06  3:10 UTC (permalink / raw)
  To: John Cherry; +Cc: linux-kernel

On 05 Apr 2004 20:04:09 -0700 John Cherry <cherry@osdl.org> wrote:

| 9 new compiler warnings between 2.6.4 and 2.6.5.
| 
| gcc: 3.2.2
| arch: i386
| 
| drivers/acpi/events/evmisc.c:143: warning: too many arguments for format
| drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. -
| copy*user in cli"
| drivers/char/watchdog/cpu5wdt.c:305: warning: initialization discards
| qualifiers from pointer target type
| drivers/char/watchdog/cpu5wdt.c:305: warning: return discards qualifiers
| from pointer target type
| drivers/media/dvb/frontends/tda1004x.c:191: warning: `errno' defined but
| not used
| drivers/pcmcia/i82365.c:71: warning: `version' defined but not used
| drivers/pcmcia/tcic.c:64: warning: `version' defined but not used
| sound/isa/wavefront/wavefront_synth.c:1923: warning: `errno' defined but
| not used
| sound/oss/wavfront.c:2498: warning: `errno' defined but not used

hi john,

i didn't check all of these, but the #warning in applicom.c
(Je suis stupide.) has been around forever and it's listed in
both your 2.6.4 and 2.6.5 warning logs:

http://developer.osdl.org/cherry/compile/2.6/linux-2.6.4.results/2.6.4.allmodconfig.modules.txt:
drivers/char/applicom.c:522:2: warning: #warning "Je suis stupide. DW. - copy*user in cli"

and
http://developer.osdl.org/cherry/compile/2.6/linux-2.6.5.results/2.6.5.allmodconfig.modules.txt:
drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. - copy*user in cli"

Ooh, was it the line number change that made it look new???

--
~Randy

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

* Re: New compiler warning: 2.6.4->2.6.5
  2004-04-06  3:04 New compiler warning: 2.6.4->2.6.5 John Cherry
  2004-04-06  3:10 ` Randy.Dunlap
@ 2004-04-06 17:18 ` Luiz Fernando N. Capitulino
  2004-04-06 20:59   ` John Cherry
  1 sibling, 1 reply; 5+ messages in thread
From: Luiz Fernando N. Capitulino @ 2004-04-06 17:18 UTC (permalink / raw)
  To: John Cherry; +Cc: linux-kernel


Hi John,

Em 05 Apr 2004 20:04:09 -0700
John Cherry <cherry@osdl.org> escreveu:

| 9 new compiler warnings between 2.6.4 and 2.6.5.
| 
| gcc: 3.2.2
| arch: i386
| 
| drivers/acpi/events/evmisc.c:143: warning: too many arguments for format
| drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. -
| copy*user in cli"
| drivers/char/watchdog/cpu5wdt.c:305: warning: initialization discards
| qualifiers from pointer target type
| drivers/char/watchdog/cpu5wdt.c:305: warning: return discards qualifiers
| from pointer target type
| drivers/media/dvb/frontends/tda1004x.c:191: warning: `errno' defined but
| not used
| drivers/pcmcia/i82365.c:71: warning: `version' defined but not used
| drivers/pcmcia/tcic.c:64: warning: `version' defined but not used
| sound/isa/wavefront/wavefront_synth.c:1923: warning: `errno' defined but
| not used
| sound/oss/wavfront.c:2498: warning: `errno' defined but not used

 I fixed the ''errno''s warnings, the patches are in -mm.

PS: I think they are not new.

-- 
Luiz Fernando N. Capitulino
<lcapitulino@prefeitura.sp.gov.br>
<http://www.telecentros.sp.gov.br>

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

* Re: New compiler warning: 2.6.4->2.6.5
  2004-04-06 17:18 ` Luiz Fernando N. Capitulino
@ 2004-04-06 20:59   ` John Cherry
  2004-04-06 21:45     ` Luiz Fernando N. Capitulino
  0 siblings, 1 reply; 5+ messages in thread
From: John Cherry @ 2004-04-06 20:59 UTC (permalink / raw)
  To: Luiz Fernando N. Capitulino; +Cc: linux-kernel

On Tue, 2004-04-06 at 10:18, Luiz Fernando N. Capitulino wrote:
> Hi John,
> 
> Em 05 Apr 2004 20:04:09 -0700
> John Cherry <cherry@osdl.org> escreveu:
> 
> | 9 new compiler warnings between 2.6.4 and 2.6.5.
> | 
> | gcc: 3.2.2
> | arch: i386
> | 
> | drivers/acpi/events/evmisc.c:143: warning: too many arguments for format
> | drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. -
> | copy*user in cli"
> | drivers/char/watchdog/cpu5wdt.c:305: warning: initialization discards
> | qualifiers from pointer target type
> | drivers/char/watchdog/cpu5wdt.c:305: warning: return discards qualifiers
> | from pointer target type
> | drivers/media/dvb/frontends/tda1004x.c:191: warning: `errno' defined but
> | not used
> | drivers/pcmcia/i82365.c:71: warning: `version' defined but not used
> | drivers/pcmcia/tcic.c:64: warning: `version' defined but not used
> | sound/isa/wavefront/wavefront_synth.c:1923: warning: `errno' defined but
> | not used
> | sound/oss/wavfront.c:2498: warning: `errno' defined but not used
> 
>  I fixed the ''errno''s warnings, the patches are in -mm.

Great.  Once they are merged, the errno warnings will be gone.

> 
> PS: I think they are not new.

They were new relative to 2.6.4.  Check out the 2.6.4 build results:

 http://developer.osdl.org/cherry/compile/2.6/linux-2.6.4.results/

John



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

* Re: New compiler warning: 2.6.4->2.6.5
  2004-04-06 20:59   ` John Cherry
@ 2004-04-06 21:45     ` Luiz Fernando N. Capitulino
  0 siblings, 0 replies; 5+ messages in thread
From: Luiz Fernando N. Capitulino @ 2004-04-06 21:45 UTC (permalink / raw)
  To: John Cherry; +Cc: linux-kernel

Em Tue, 06 Apr 2004 13:59:48 -0700
John Cherry <cherry@osdl.org> escreveu:

| > | 9 new compiler warnings between 2.6.4 and 2.6.5.
| > | 
| > | gcc: 3.2.2
| > | arch: i386
| > | 
| > | drivers/acpi/events/evmisc.c:143: warning: too many arguments for format
| > | drivers/char/applicom.c:523:2: warning: #warning "Je suis stupide. DW. -
| > | copy*user in cli"
| > | drivers/char/watchdog/cpu5wdt.c:305: warning: initialization discards
| > | qualifiers from pointer target type
| > | drivers/char/watchdog/cpu5wdt.c:305: warning: return discards qualifiers
| > | from pointer target type
| > | drivers/media/dvb/frontends/tda1004x.c:191: warning: `errno' defined but
| > | not used
| > | drivers/pcmcia/i82365.c:71: warning: `version' defined but not used
| > | drivers/pcmcia/tcic.c:64: warning: `version' defined but not used
| > | sound/isa/wavefront/wavefront_synth.c:1923: warning: `errno' defined but
| > | not used
| > | sound/oss/wavfront.c:2498: warning: `errno' defined but not used
| > 
| >  I fixed the ''errno''s warnings, the patches are in -mm.
| 
| Great.  Once they are merged, the errno warnings will be gone.
| 
| > 
| > PS: I think they are not new.
| 
| They were new relative to 2.6.4.  Check out the 2.6.4 build results:
| 
|  http://developer.osdl.org/cherry/compile/2.6/linux-2.6.4.results/

 Oh yes, they are not new in -mm, where the time goes fast. :-)

-- 
Luiz Fernando N. Capitulino
<lcapitulino@prefeitura.sp.gov.br>
<http://www.telecentros.sp.gov.br>

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

end of thread, other threads:[~2004-04-06 21:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06  3:04 New compiler warning: 2.6.4->2.6.5 John Cherry
2004-04-06  3:10 ` Randy.Dunlap
2004-04-06 17:18 ` Luiz Fernando N. Capitulino
2004-04-06 20:59   ` John Cherry
2004-04-06 21:45     ` Luiz Fernando N. Capitulino

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