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 /fs/exec.c | |
| 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 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c index d1aba2427fd2..4b7f44fb49ef 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -994,7 +994,7 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs) return retval; /* Remember if the application is TASO. */ - bprm->sh_bang = eh->ah.entry < 0x100000000; + bprm->sh_bang = eh->ah.entry < 0x100000000UL; bprm->file = file; bprm->loader = loader; |
