Re: New compiler warning: 2.6.4->2.6.5

From: Randy.Dunlap
Date: Mon Apr 05 2004 - 22:18:10 EST


On 05 Apr 2004 20:04:09 -0700 John Cherry <cherry@xxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/