kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT_MAX...
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 24 May 2010 21:33:03 +0000 (14:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:02 +0000 (08:07 -0700)
commit4be929be34f9bdeffa40d815d32d7d60d2c7f03b
tree4d2c6e2b8ef766e565e2e050ee151de2e02081d3
parent940370fc86b920b51a34217a1facc3e9e97c2456
kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT_MAX and SHRT_MIN

- C99 knows about USHRT_MAX/SHRT_MAX/SHRT_MIN, not
  USHORT_MAX/SHORT_MAX/SHORT_MIN.

- Make SHRT_MIN of type s16, not int, for consistency.

[akpm@linux-foundation.org: fix drivers/dma/timb_dma.c]
[akpm@linux-foundation.org: fix security/keys/keyring.c]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 files changed:
drivers/dma/timb_dma.c
drivers/scsi/fcoe/fcoe.c
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_config.c
drivers/vhost/vhost.c
fs/nfs/super.c
fs/nfsd/nfsctl.c
fs/ocfs2/blockcheck.c
include/linux/kernel.h
include/linux/sched.h
include/net/ip.h
include/net/ipv6.h
ipc/msg.c
ipc/util.c
lib/vsprintf.c
net/9p/protocol.c
net/dccp/options.c
net/ipv4/udp.c
net/mac80211/sta_info.c
net/sunrpc/rpcb_clnt.c
security/keys/keyring.c