diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-05-29 02:18:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-29 02:18:12 -0700 |
| commit | 4d3065044f1794a24a8170b0241f08d718b0ecc2 (patch) | |
| tree | fa56c9bd4276af579cd58b3d7b47fb7d214862ab /include/linux/fs.h | |
| parent | 8d6ded5f8ef43dac2c8dde565469c780a2087aa2 (diff) | |
[PATCH] sparse: bits and pieces
Independent minor bits caught by sparse:
- paride.h mixing void and int in ? :, used always in a void context
ide-iops.c return insw() - insw is void()
- scsi/constants.c uses undefined macros in #if; added #define to 0 in
case that used to leave it undefined
- usb/host/hcd.h: fixed-point arithmetics in constant
- fs/exec.c: missing UL on a large constant
- fs/locks.c: #if where #ifdef should've been
- fs.h: missing UL on MAX_LFS_FILESIZE in 64bit case
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index a766ca3c4a83..10a69a544045 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -599,7 +599,7 @@ extern void close_private_file(struct file *file); #if BITS_PER_LONG==32 #define MAX_LFS_FILESIZE (((u64)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1) #elif BITS_PER_LONG==64 -#define MAX_LFS_FILESIZE 0x7fffffffffffffff +#define MAX_LFS_FILESIZE 0x7fffffffffffffffUL #endif #define FL_POSIX 1 |
