FYI: Assembler warnings in 2.2.15pre12 --- probably cosmetic

From: Morten Garkier Hendriksen (mgarkier@get2net.dk)
Date: Sat Mar 04 2000 - 12:57:00 EST


Hello!

During compilation of the (stock) kernel 2.2.15pre12 on my debian-box
using gcc-2.95.2 i get the following warnings in (amongst others)
scsi.h:

{standard input}: Assembler messages:
{standard input}:1888: Warning: using `%eax' instead of `%ax' due to `l' suffix

Since the kernel runs happily on my SCSI-based system, it seems that
it is only a cosmetic problem, but just in case you would like to know
a (snip of the) buildlog is included below.

My experience with assembler programming is so litte (non existing),
that I didn't even *try* to patch it myself...I hope you can accept my
apology for that.

Feel free to contact me if you need me to try something out, or you
cannot reproduce the situation.

Please CC me responses top this mail since my news-system (which I use
for lk) is down at the moment...

Best regards
Morten Hendriksen

Here follows the quote from my "make bzImage modules". I know it is a
bit verbose, but I'd rather give you a little more than you need than
a litte less. This is the only place that the problem occurs in that build.

______BEGIN QUOTE________
raid0.c: In function `raid0_map':
raid0.c:187: warning: unsigned int format, long unsigned int arg (arg 2)
eepro100.c: In function `eepro100_init':
eepro100.c:593: warning: unsigned int format, long unsigned int arg (arg 2)
/home/garkier/Software/kernel/linux-2.2.15pre12/include/linux/blk.h:427: warning: `do_sd' defined but not used
/home/garkier/Software/kernel/linux-2.2.15pre12/include/linux/blk.h:451: warning: `do_sd_request' declared `static' but never defined
scsi.h:641: warning: `end_scsi_request' defined but not used
{standard input}: Assembler messages:
{standard input}:1888: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:1888: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}: Assembler messages:
{standard input}:1037: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:1037: Warning: using `%eax' instead of `%ax' due to `l' suffix
xprt.c: In function `rpciod_tcp_dispatcher':
xprt.c:778: warning: `result' might be used uninitialized in this function
apm.c:647: warning: `apm_enable_power_management' defined but not used
{standard input}: Assembler messages:
{standard input}:327: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:328: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:329: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:330: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:331: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:582: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:582: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}: Assembler messages:
{standard input}:1165: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:1180: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s: Assembler messages:
/tmp/ccccRXpM.s:918: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:918: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:955: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:955: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:1049: Warning: using `%ecx' instead of `%cx' due to `l' suffix
/tmp/ccccRXpM.s:1056: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:1057: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:1070: Warning: using `%edx' instead of `%dx' due to `l' suffix
/tmp/ccccRXpM.s:1070: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}: Assembler messages:
{standard input}:1696: Warning: using `%bx' instead of `%ebx' due to `w' suffix
{standard input}: Assembler messages:
{standard input}:984: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:985: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2124: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2125: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2144: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2145: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2164: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2165: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2184: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2185: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2204: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2205: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2224: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}:2225: Warning: using `%edx' instead of `%dx' due to `l' suffix
{standard input}: Assembler messages:
{standard input}:543: Warning: using `%eax' instead of `%ax' due to `l' suffix
{standard input}:543: Warning: using `%eax' instead of `%ax' due to `l' suffix
bios32.c: In function `pci_fixup_rcc':
bios32.c:1058: warning: unused variable `bus'
bios32.c: In function `pci_fixup_compaq':
bios32.c:1073: warning: unused variable `bus'
/tmp/cccIKbSg.s: Assembler messages:
/tmp/cccIKbSg.s:960: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:961: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:962: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:963: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1144: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1145: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1146: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1147: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1227: Warning: using `%eax' instead of `%ax' due to `l' suffix
/tmp/cccIKbSg.s:1228: Warning: using `%eax' instead of `%ax' due to `l' suffix
________END QUOTE________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:17 EST