From 4d3065044f1794a24a8170b0241f08d718b0ecc2 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Sat, 29 May 2004 02:18:12 -0700 Subject: [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 --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') 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 -- cgit v1.2.3