itojun
73704c4ce4
NULL/integer mixup
2003-10-21 09:42:07 +00:00
agc
492f508473
Don't use NULL inappropriately.
2003-10-21 09:32:54 +00:00
wiz
1dbb52e92c
Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd.
2003-10-21 09:03:25 +00:00
petrov
fd995d7327
More NULL vs not pointer.
2003-10-21 09:02:50 +00:00
agc
0833278c93
Don't compare the return value of strncmp(3) against NULL - it's an integer.
2003-10-21 08:46:15 +00:00
itojun
e0a77c7886
mention sysctl(8) interface for SADB_DUMP
2003-10-21 08:44:04 +00:00
petrov
2ba6e4bf47
don't assign/compare integer and NULL.
2003-10-21 08:43:32 +00:00
petrov
9aefdf5971
Don't assign/compare integer and NULL.
2003-10-21 08:38:04 +00:00
petrov
688c2d65e3
Don't use NULL for integer.
2003-10-21 08:31:11 +00:00
petrov
e092522bfc
Don't use NULL for an int comparsion.
2003-10-21 08:27:20 +00:00
petrov
73c14af7a1
don't use NULL for an int initialization.
2003-10-21 08:26:31 +00:00
petrov
de7eafdbf8
don't initialize an int with NULL.
2003-10-21 08:20:15 +00:00
skrll
601de4df8c
Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
...
ds1307 driver.
Hi Jason.
2003-10-21 08:15:39 +00:00
petrov
1176590ac1
don't use NULL for u_long initialization.
2003-10-21 08:12:46 +00:00
skrll
c6935c341a
Remove the channel locator in atapibus* at umass?
2003-10-21 08:03:16 +00:00
itojun
a5b0232610
backout previous; pf and crypto are moved to common majors range
2003-10-21 07:46:50 +00:00
itojun
8386af6745
major for pf/crypto
2003-10-21 07:38:22 +00:00
agc
c5275d9ccd
Don't redefine NULL
2003-10-21 07:26:39 +00:00
itojun
dda2494d07
aes-xcbc-mac is now an RFC. bump date.
2003-10-21 07:20:11 +00:00
agc
68f1651086
Tidy up the previous isdigit(3) boolean check.
2003-10-21 06:34:26 +00:00
simonb
45cf1137ea
Remove break after return.
2003-10-21 06:22:46 +00:00
simonb
7feb1a91fa
Remove return after panic().
2003-10-21 06:22:16 +00:00
thorpej
abc7f80ca5
- Map I/O space on chips that support it. While it is not used for
...
normal operation, it is required to implement a bug work-around on
some chips.
- When issuing a reset on the i82544, i82540, i82545, i82546,
and i82541, use I/O space, if available, to work around a problem
with the memory write cycle (problem only occurs when issuing
a reset).
2003-10-21 05:45:11 +00:00
thorpej
f44ddf324f
Fix a typo.
2003-10-21 05:07:10 +00:00
thorpej
0143773bbc
Add some additional register definitions needed for newer chips:
...
- Control register shadow
- SPI EEPROM stuff
2003-10-21 04:39:32 +00:00
thorpej
2cadb9ce85
Record characteristics of the bus connection at attach time.
2003-10-21 04:35:01 +00:00
fvdl
8b99487c1e
Define NULL as (void *)0, unless C++ is being used.
2003-10-21 03:27:32 +00:00
fvdl
ce7e811d1d
And the wise man said: An u_int32_t is not a pointer, my young apprentice,
...
so thou shalt not compare it to NULL.
2003-10-21 03:24:25 +00:00
fvdl
c9aca9f010
Don't pass NULL as an integer value.
2003-10-21 03:22:25 +00:00
fvdl
6a6c3ca82f
Don't assign NULL as an integer.
2003-10-21 03:06:55 +00:00
fvdl
73d47a4f07
Don't return NULL as an integer.
2003-10-21 03:03:39 +00:00
fvdl
0526a13bc6
Don't compare an int to NULL.
2003-10-21 03:01:44 +00:00
fvdl
705a39bc93
Don't compare an int to NULL.
...
Some whitespace nits.
2003-10-21 03:00:41 +00:00
fvdl
1cb8eb7415
Don't compare an int to NULL.
2003-10-21 02:58:50 +00:00
fvdl
03de13db6e
Fix a few cases where NULL was used as integral value.
2003-10-21 02:55:43 +00:00
fvdl
cddedd60f8
Don't compare an int to NULL.
2003-10-21 02:53:57 +00:00
fvdl
b6d9b01a54
Don't compare a char to NULL.
2003-10-21 02:53:02 +00:00
fvdl
c40a2514bd
Don't pass NULL as an integer.
2003-10-21 02:51:37 +00:00
fvdl
bc6fdb757c
Don't compare a char to NULL.
2003-10-21 02:50:41 +00:00
fvdl
e7e0e9e521
Don't return NULL for an integer.
2003-10-21 02:49:07 +00:00
fvdl
82ac6194ae
Don't compare an int to NULL.
2003-10-21 02:48:07 +00:00
fvdl
7de4819e2c
Don't assign NULL to an integer.
2003-10-21 02:43:37 +00:00
fvdl
8d36718b5c
Don't compare an int to NULL.
2003-10-21 02:39:44 +00:00
fvdl
83c93c70ba
Don't assign NULL to a char.
2003-10-21 02:38:15 +00:00
fvdl
5f002aff6f
Add missing initializer field.
2003-10-21 02:37:22 +00:00
fvdl
ccd0060f62
Don't return NULL as an int.
2003-10-21 02:36:06 +00:00
fvdl
9c9a4505fe
Don't use NULL as a case value.
2003-10-21 02:34:45 +00:00
fvdl
954495b615
Don't initialize an int to NULL.
2003-10-21 02:33:34 +00:00
fvdl
34951ed447
The 3rd argument to swapctl() is an int, don't pass NULL in it.
2003-10-21 02:32:54 +00:00
fvdl
efbda96887
Don't compare argc to NULL.
2003-10-21 02:31:43 +00:00