lkml.org 
[lkml]   [2003]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.5.70 (Compiler warnings)
On Mon, 26 May 2003 19:08:45 -0700 (PDT) Linus Torvalds (LT) wrote:

LT> Summary of changes from v2.5.69 to v2.5.70
LT> ============================================
LT> Sam Ravnborg:
LT> o kbuild: Get more focus on warnings
Hi,

Since this patch went into the kernel, I assume there is a sufficient interest
in fixing compiler warnings before 2.6. is released. So here comes my list of
gcc-3.3. warnings for kernel hackers to look into.

Regards,
-Udo.


fs/fat/inode.c: In function `fat_fill_super':
fs/fat/inode.c:803: warning: comparison is always true due to limited range of data type

fs/smbfs/proc.c: In function `smb_proc_setattr_unix':
fs/smbfs/proc.c:3044: warning: integer constant is too large for "long" type
fs/smbfs/proc.c:3045: warning: integer constant is too large for "long" type
fs/smbfs/proc.c:3046: warning: integer constant is too large for "long" type
fs/smbfs/proc.c:3047: warning: integer constant is too large for "long" type
fs/smbfs/proc.c:3048: warning: integer constant is too large for "long" type

fs/smbfs/ioctl.c: In function `smb_ioctl':
fs/smbfs/ioctl.c:36: warning: comparison is always false due to limited range of data type
fs/smbfs/ioctl.c:36: warning: comparison is always false due to limited range of data type
fs/smbfs/ioctl.c:36: warning: comparison is always false due to limited range of data type
fs/smbfs/ioctl.c:36: warning: comparison is always false due to limited range of data type

crypto/sha512.c:51: warning: integer constant is too large for "long" type
crypto/sha512.c:51: warning: integer constant is too large for "long" type
crypto/sha512.c:51: warning: integer constant is too large for "long" type
crypto/sha512.c:52: warning: integer constant is too large for "long" type
crypto/sha512.c:52: warning: integer constant is too large for "long" type
crypto/sha512.c:52: warning: integer constant is too large for "long" type
crypto/sha512.c:53: warning: integer constant is too large for "long" type
crypto/sha512.c:53: warning: integer constant is too large for "long" type
crypto/sha512.c:53: warning: integer constant is too large for "long" type
crypto/sha512.c:54: warning: integer constant is too large for "long" type
crypto/sha512.c:54: warning: integer constant is too large for "long" type
crypto/sha512.c:54: warning: integer constant is too large for "long" type
crypto/sha512.c:55: warning: integer constant is too large for "long" type
crypto/sha512.c:55: warning: integer constant is too large for "long" type
crypto/sha512.c:55: warning: integer constant is too large for "long" type
crypto/sha512.c:56: warning: integer constant is too large for "long" type
crypto/sha512.c:56: warning: integer constant is too large for "long" type
crypto/sha512.c:56: warning: integer constant is too large for "long" type
crypto/sha512.c:57: warning: integer constant is too large for "long" type
crypto/sha512.c:57: warning: integer constant is too large for "long" type
crypto/sha512.c:57: warning: integer constant is too large for "long" type
crypto/sha512.c:58: warning: integer constant is too large for "long" type
crypto/sha512.c:58: warning: integer constant is too large for "long" type
crypto/sha512.c:58: warning: integer constant is too large for "long" type
crypto/sha512.c:59: warning: integer constant is too large for "long" type
crypto/sha512.c:59: warning: integer constant is too large for "long" type
crypto/sha512.c:59: warning: integer constant is too large for "long" type
crypto/sha512.c:60: warning: integer constant is too large for "long" type
crypto/sha512.c:60: warning: integer constant is too large for "long" type
crypto/sha512.c:60: warning: integer constant is too large for "long" type
crypto/sha512.c:61: warning: integer constant is too large for "long" type
crypto/sha512.c:61: warning: integer constant is too large for "long" type
crypto/sha512.c:61: warning: integer constant is too large for "long" type
crypto/sha512.c:62: warning: integer constant is too large for "long" type
crypto/sha512.c:62: warning: integer constant is too large for "long" type
crypto/sha512.c:62: warning: integer constant is too large for "long" type
crypto/sha512.c:63: warning: integer constant is too large for "long" type
crypto/sha512.c:63: warning: integer constant is too large for "long" type
crypto/sha512.c:63: warning: integer constant is too large for "long" type
crypto/sha512.c:64: warning: integer constant is too large for "long" type
crypto/sha512.c:64: warning: integer constant is too large for "long" type
crypto/sha512.c:64: warning: integer constant is too large for "long" type
crypto/sha512.c:65: warning: integer constant is too large for "long" type
crypto/sha512.c:65: warning: integer constant is too large for "long" type
crypto/sha512.c:65: warning: integer constant is too large for "long" type
crypto/sha512.c:66: warning: integer constant is too large for "long" type
crypto/sha512.c:66: warning: integer constant is too large for "long" type
crypto/sha512.c:66: warning: integer constant is too large for "long" type
crypto/sha512.c:67: warning: integer constant is too large for "long" type
crypto/sha512.c:67: warning: integer constant is too large for "long" type
crypto/sha512.c:67: warning: integer constant is too large for "long" type
crypto/sha512.c:68: warning: integer constant is too large for "long" type
crypto/sha512.c:68: warning: integer constant is too large for "long" type
crypto/sha512.c:68: warning: integer constant is too large for "long" type
crypto/sha512.c:69: warning: integer constant is too large for "long" type
crypto/sha512.c:69: warning: integer constant is too large for "long" type
crypto/sha512.c:69: warning: integer constant is too large for "long" type
crypto/sha512.c:70: warning: integer constant is too large for "long" type
crypto/sha512.c:70: warning: integer constant is too large for "long" type
crypto/sha512.c:70: warning: integer constant is too large for "long" type
crypto/sha512.c:71: warning: integer constant is too large for "long" type
crypto/sha512.c:71: warning: integer constant is too large for "long" type
crypto/sha512.c:71: warning: integer constant is too large for "long" type
crypto/sha512.c:72: warning: integer constant is too large for "long" type
crypto/sha512.c:72: warning: integer constant is too large for "long" type
crypto/sha512.c:72: warning: integer constant is too large for "long" type
crypto/sha512.c:73: warning: integer constant is too large for "long" type
crypto/sha512.c:73: warning: integer constant is too large for "long" type
crypto/sha512.c:73: warning: integer constant is too large for "long" type
crypto/sha512.c:74: warning: integer constant is too large for "long" type
crypto/sha512.c:74: warning: integer constant is too large for "long" type
crypto/sha512.c:74: warning: integer constant is too large for "long" type
crypto/sha512.c:75: warning: integer constant is too large for "long" type
crypto/sha512.c:75: warning: integer constant is too large for "long" type
crypto/sha512.c:75: warning: integer constant is too large for "long" type
crypto/sha512.c:76: warning: integer constant is too large for "long" type
crypto/sha512.c:76: warning: integer constant is too large for "long" type
crypto/sha512.c:76: warning: integer constant is too large for "long" type
crypto/sha512.c:77: warning: integer constant is too large for "long" type
crypto/sha512.c:77: warning: integer constant is too large for "long" type
crypto/sha512.c: In function `sha512_init':
crypto/sha512.c:182: warning: integer constant is too large for "long" type
crypto/sha512.c:183: warning: integer constant is too large for "long" type
crypto/sha512.c:184: warning: integer constant is too large for "long" type
crypto/sha512.c:185: warning: integer constant is too large for "long" type
crypto/sha512.c:186: warning: integer constant is too large for "long" type
crypto/sha512.c:187: warning: integer constant is too large for "long" type
crypto/sha512.c:188: warning: integer constant is too large for "long" type
crypto/sha512.c:189: warning: integer constant is too large for "long" type
crypto/sha512.c: In function `sha384_init':
crypto/sha512.c:198: warning: integer constant is too large for "long" type
crypto/sha512.c:199: warning: integer constant is too large for "long" type
crypto/sha512.c:200: warning: integer constant is too large for "long" type
crypto/sha512.c:201: warning: integer constant is too large for "long" type
crypto/sha512.c:202: warning: integer constant is too large for "long" type
crypto/sha512.c:203: warning: integer constant is too large for "long" type
crypto/sha512.c:204: warning: integer constant is too large for "long" type
crypto/sha512.c:205: warning: integer constant is too large for "long" type

drivers/char/vt_ioctl.c: In function `do_kdsk_ioctl':
drivers/char/vt_ioctl.c:85: warning: comparison is always false due to limited range of data type
drivers/char/vt_ioctl.c:85: warning: comparison is always false due to limited range of data type
drivers/char/vt_ioctl.c: In function `do_kdgkb_ioctl':
drivers/char/vt_ioctl.c:211: warning: comparison is always false due to limited range of data type

drivers/char/keyboard.c: In function `k_fn':
drivers/char/keyboard.c:663: warning: comparison is always true due to limited range of data type

drivers/i2c/i2c-sensor.c: In function `i2c_detect':
drivers/i2c/i2c-sensor.c:54: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:113)

drivers/ide/ide-probe.c: In function `hwif_check_region':
drivers/ide/ide-probe.c:642: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:113)
drivers/ide/ide-probe.c:644: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:113)

drivers/serial/8250.c: In function `serial8250_set_termios':
drivers/serial/8250.c:1428: warning: comparison is always false due to limited range of data type

arch/i386/boot/setup.S: Assembler messages:
arch/i386/boot/setup.S:165: Warning: value 0x37ffffff truncated to 0x37ffffff
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2011 Jasper Spaans