Commit Graph

67319 Commits

Author SHA1 Message Date
jdolecek
53385f1dfd adjust maximum number of vnodes in vnode cache according
to machine memory size upon boot if the number has not been specified
explicitly in kernel config - at this moment, 0.5% of system
memory is used for vnodes (but minimum NVNODE vnodes)
2000-07-06 09:51:54 +00:00
onoe
27f79f7369 cast u_char for ctype (nwid stuff) to fix possible overrun problems. 2000-07-06 08:20:51 +00:00
augustss
f744825091 Some fixes suggested by Sheldon Hearn <sheldonh@uunet.co.za> (FreeBSD). 2000-07-06 07:26:48 +00:00
augustss
555fde1163 Fix reversed test in umass_activate(). Probably fixes PR 10520. 2000-07-06 07:11:18 +00:00
thorpej
70140a566d Some slight cleanup. 2000-07-06 04:34:26 +00:00
msaitoh
7f0eba7ad8 make spllower() return void. 2000-07-06 04:31:04 +00:00
tsubai
212a0a08d2 Implement powerpc spin lock functions. 2000-07-06 03:52:25 +00:00
jhawk
c4f2dfb0b9 Enable "old partition ID" compatibility by default, just as in biosboot. 2000-07-06 03:39:53 +00:00
enami
3268786888 - Process all passed option rather than ignoring silently except the first one.
- Centerize the check whether an interface is specified.
- Print maximum data length.
- Swap wi_type and wi_code in struct wi_table so that wi_type matches with
  wi_type in wi_req.
2000-07-06 03:37:26 +00:00
christos
797c24d612 const poisoning. 2000-07-06 03:17:19 +00:00
christos
910cd9b309 fix non-portable bit-fields 2000-07-06 03:16:51 +00:00
christos
473ea2c4e7 add explicit casts to avoid parameter conversion warnings. 2000-07-06 03:14:05 +00:00
christos
6b283a58bd avoid losing precision warnings 2000-07-06 03:13:22 +00:00
christos
deb154d2bc add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
christos
b056680b9b remove register
adjust types to match functions
elide non-portable casts
cast to proper types
2000-07-06 03:06:45 +00:00
christos
6a3d07cc2d get prototypes from rpc/nettype.h
avoid non-portable casts
add explicit casts
2000-07-06 03:05:20 +00:00
christos
3ee90709fb elide non-portable casts 2000-07-06 03:03:59 +00:00
christos
ea5394abfa remove unnecessary casts to NULL 2000-07-06 03:03:30 +00:00
christos
ae40c8edb2 remove register
elide non-portable casts
2000-07-06 03:02:22 +00:00
christos
1c3b369611 add explicit casts
elide non-portable casts
2000-07-06 03:01:32 +00:00
christos
373996b8e8 add constcond lint directive 2000-07-06 03:00:39 +00:00
christos
bc44f19756 add explicit casts
elide non-portable casts
2000-07-06 03:00:16 +00:00
christos
e464ac9461 add explicit casts 2000-07-06 02:59:47 +00:00
christos
43264d6a9a add argsused lint directives
add explicit casts
elide non-portable casts
2000-07-06 02:59:20 +00:00
christos
e9001c0972 elide non portable casts
add lint const castaway directives
2000-07-06 02:58:07 +00:00
christos
db34dc9efd de-register
use the proper types for vars
2000-07-06 02:57:23 +00:00
christos
b5835eb63b remove noop checks 2000-07-06 02:56:55 +00:00
christos
47197be00f elide non-portable casts 2000-07-06 02:56:25 +00:00
christos
a0d18445ab avoid non portable casts 2000-07-06 02:55:45 +00:00
christos
970724237c avoid non-portable casts 2000-07-06 02:54:55 +00:00
christos
7bc5ea812e - remove unused vars
- fix non-portable casts
2000-07-06 02:54:12 +00:00
christos
b0c8c0de7d - avoid non portable casts
- cast arguments to avoid promotion warnings
2000-07-06 02:53:12 +00:00
christos
5570317afb add CONSTCOND where appropriate 2000-07-06 02:52:07 +00:00
christos
f277b22775 fix non-portable shift. 2000-07-06 02:50:35 +00:00
christos
3974a782d3 explicitly cast to u_char 2000-07-06 02:50:22 +00:00
christos
a74cfaaa6e mark the prototype mismatch as linted. We cannot do better because of the
widening ansi rules.
2000-07-06 02:49:41 +00:00
christos
2b3ae9ea3e remove extra semi's 2000-07-06 02:48:41 +00:00
thorpej
d28fe378bc Use device_lookup(). 2000-07-06 02:02:48 +00:00
mjacob
b47890a934 Reserve top nibble of status for use by the HBA. It's up to the
HBA to set or clear it.
2000-07-06 01:56:23 +00:00
thorpej
cb450cc444 Use device_lookup(). 2000-07-06 01:47:34 +00:00
christos
6fa36b3bb7 better way to handle lint.7 2000-07-06 01:21:46 +00:00
mjacob
7ed7b1b9fd Per advice from thorpej, reinstated some of Erik's changes. 2000-07-06 01:17:38 +00:00
christos
b28978bb69 document new flags. 2000-07-06 01:17:18 +00:00
christos
17ac48f4b1 pass -X <id>[,<id>]... and -w to lint1 2000-07-06 01:12:24 +00:00
christos
ab89a2b0b0 build lint.7 man page 2000-07-06 01:11:23 +00:00
christos
4017aef2ee add 3 new flags:
-m print message list
-X <id>[,<id>]... suppress error messages with give ids.
-w treat warnings as errors.
2000-07-06 01:10:51 +00:00
christos
86cf133f3b new function and new flag... 2000-07-06 01:09:56 +00:00
christos
2e6af79a57 - support for -X flag
- support for -m flag
- print the error number in each message
2000-07-06 01:09:20 +00:00
christos
3c68257297 new script to generate a man page of error messages that lint generates 2000-07-06 01:08:10 +00:00
christos
406d83685a de-lint 2000-07-06 00:51:36 +00:00