freebsd-dev/sys
Tijl Coosemans 9858863cd4 Fix types of some values in machine/_limits.h.
On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int.
However, lacking integer suffixes for types smaller than int, their type
should correspond to that of an object of type unsigned char (or short)
when used in an expression with objects of type int. In that case unsigned
char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and
USHRT_MAX should also be int.

Where MIN/MAX constants implicitly have the correct type the suffix has
been removed.

While here, correct some comments.

Reviewed by:	bde
Approved by:	kib (mentor)
2011-01-08 11:13:34 +00:00
..
amd64 Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
arm Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
boot Help static analysis by initializing variables that we know cannot be 2011-01-06 20:50:16 +00:00
bsm
cam Fix a few issues related to the XPT_GDEV_ADVINFO CCB. 2010-12-10 21:38:51 +00:00
cddl MFp4 r186485, r186859: 2011-01-03 12:57:07 +00:00
compat Fix the LINUX_SOUND_MIXER_INFO ioctl to return success after the 2010-12-30 02:18:04 +00:00
conf Import support for the Sony Playstation 3 using the OtherOS feature 2011-01-06 04:12:29 +00:00
contrib Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9. 2010-12-19 11:37:44 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev CSUM flags need to be OS version sensitive in ixv code 2011-01-07 23:39:41 +00:00
fs Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros that 2011-01-06 20:31:33 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom Fix a memory overflow where the input length to g_gpt_utf8_to_utf16() 2011-01-07 16:46:20 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
ia64 Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern - Properly initialize the base priority (td_base_pri) of thread0 to PVM 2011-01-06 22:26:00 +00:00
kgssapi
libkern Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
mips Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
modules No need to genreate these here 2011-01-06 21:04:00 +00:00
net - Restore dropping the priority of syncer down to PPAUSE when it is idle. 2011-01-06 22:17:07 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Simplify ng_pipe locking model by relying on the netgraph framework 2010-11-24 16:02:58 +00:00
netinet Trim extra spaces before tabs. 2011-01-07 21:40:34 +00:00
netinet6 Improve plausibility check in sctp_handle_sack(). 2010-12-22 17:59:38 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp
netsmb
nfs Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfsclient Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
nfsserver ZFS might not return monotonically increasing directory offset cookies, 2010-12-28 21:12:15 +00:00
nlm Fix the nlm so that it no longer depends on the regular 2011-01-03 20:37:31 +00:00
opencrypto Let cryptosoft(4) add its pseudo-device with a specific unit number and its 2010-11-14 13:09:32 +00:00
pc98 MFi386 r216012 by kib: 2011-01-02 15:06:07 +00:00
pci Remove standard PCI configuration space register definitions. 2010-11-08 22:10:51 +00:00
powerpc Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
rpc Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
security Fix typos. 2010-11-09 10:59:09 +00:00
sparc64 Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
sun4v Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
sys Retire PCONFIG and leave the priority of thread0 alone when waiting for 2011-01-06 22:09:37 +00:00
teken Use proper bounds checking on VPA. 2010-12-05 10:15:23 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs Instead of incrementing freework reference counter in indir_trunc(), do 2011-01-04 10:25:55 +00:00
vm Release the page lock early in vm_pageout_clean(). There is no reason to 2011-01-03 00:41:56 +00:00
x86 Drop the icu_lock spinlock while pausing briefly after masking the 2010-12-23 15:17:28 +00:00
xdr
xen Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method 2010-12-30 01:28:56 +00:00
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00