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
onoe
197deeeff8
warn instead of print 802.11 nwid with bad length field.
2000-07-06 00:50:49 +00:00
thorpej
5297dab6a8
Use device_lookup() *more*.
2000-07-06 00:48:53 +00:00
thorpej
cfaba33937
Use device_lookup().
2000-07-06 00:43:04 +00:00
thorpej
fcebfb1295
Add a device_lookup() macro which encapsulates a small snippet of code
...
that tons and tons of files all over the tree duplicate, many in slightly
different ways.
2000-07-06 00:42:35 +00:00
itojun
64ebfced5f
- mention that cnw devices are not compatible with 802.11.
...
- talk about frequency conflict with 802.11 a bit.
2000-07-05 23:45:05 +00:00
thorpej
cde72a2c2b
Garbage-collect __BDEVSW_DUMP_OLD_TYPE.
2000-07-05 23:31:12 +00:00
christos
5c2e510661
Prevent lint1 from coredumping on invalid c code such as:
...
foo((sockaddr *(void *))0);
This fix is imperfect, because right now we just check the subtype
chains for NULL and we return to the caller when the loop ends, leaving
the upper layers to cope with the syntax error. Ideally we should:
a.) return an error to the upper layer, or
b.) not call the type analysis routines in the presence of a syntax
error.
That would require a significant re-write which would take much more time
than I have...
2000-07-05 22:50:59 +00:00
thorpej
9c86b65a92
Fix an omission in the gre cloning changes.
2000-07-05 22:45:25 +00:00
mjacob
09f7025e74
remove obsolete Qlogic isp options
2000-07-05 22:30:05 +00:00
mjacob
f78b367775
Roll core version. Get rid of dogactive (no longer used). Add in some
...
volatile flags (isp_mboxbsy- keeps a bitmask of expected output mailbox
registers) and storage for them (isp_mboxtmp). Get rid of macroized
LUN widths. This is determined at run time.
2000-07-05 22:28:08 +00:00
mjacob
7358822ab5
Fix incorrect uint8_t vs. u_int8_t usage. Add in offset macros for outgoing
...
mailbox regs and a INT_PENDING_MASK macro.
2000-07-05 22:26:53 +00:00
mjacob
b520c663d0
add MBOX_GET_RESOURCE_COUNT command
2000-07-05 22:25:53 +00:00