Commit Graph

145944 Commits

Author SHA1 Message Date
christos
c56f241b01 Coverity CID 2501: Make it painfully obvious that memh is initialized. 2006-04-14 21:12:00 +00:00
christos
a5fe7389ec Coverity CID 720: Remove dead code. 2006-04-14 21:06:47 +00:00
christos
62070a9393 Coverity CID 1091: Avoid NULL deref by moving offending code inside if
statement.
2006-04-14 20:56:26 +00:00
christos
8b8ee40c22 Coverity CID 1092: Get the status earlier to avoid NULL deref. 2006-04-14 20:53:38 +00:00
christos
1882f76728 Coverity CID 1099: Don't deref NULL if !DIAGNOSTIC 2006-04-14 20:51:41 +00:00
christos
fa0ae9e82b Coverity CID 1531: Clarify why we cannot overrun static here, and use
__arraycount() instead of #define constant.
2006-04-14 20:48:53 +00:00
christos
b7f5449dce Coverity CID 1534: Fix bogus code and array overruns. 2006-04-14 20:43:11 +00:00
christos
a66f866e5e Coverity CID 726: Remove bogus test. ni was checked for not NULL lines above,
and the if condition tries to free ni!
2006-04-14 20:33:57 +00:00
christos
838d9e686d Coverty CID 1317: Avoid negative index. 2006-04-14 20:31:28 +00:00
christos
bdbf984fe7 Coverity CID 725: Remove dead code. 2006-04-14 20:20:33 +00:00
christos
e35ee08ce3 Coverity CID 1532: Off-by-one array overrun. 2006-04-14 20:17:34 +00:00
christos
31535ad130 Coverity CID 1081: Avoid NULL deref. 2006-04-14 20:16:02 +00:00
christos
aa3bd36319 Coverity CID 2465: Fix uninitialized variable. XXX: cardbus_mapreg_map()
never fails (even when it does not find memory). Perhaps it should?
2006-04-14 20:07:37 +00:00
christos
bb2402826a Coverity CID 1540: Avoid array overrun 2006-04-14 19:56:40 +00:00
christos
0b7afdf301 Coverity CID 1535: Avoid reading past the end of arrays because we don't
pay proper attention to the number of logical drives each controller can
support.
2006-04-14 19:51:21 +00:00
christos
eeb80698dd Coverity CID 1537: Make it clear to coverity that there is no overflow. 2006-04-14 19:33:12 +00:00
christos
9bada1d31d Coverity CID 1538: Avoid array overrun. 2006-04-14 19:25:37 +00:00
perseant
e6c59c133f Make a note of recent LFS improvements. 2006-04-14 19:21:15 +00:00
christos
1ad1deedf5 Coverity CID 1102: Make the code more coverity friendly. 2006-04-14 19:08:30 +00:00
christos
8b787180c1 Coverity CID 1539: Remove bogus test that caused array overrun. 2006-04-14 19:03:32 +00:00
christos
63a52e1ca5 Coviery CID 1108: Avoid NULL pointer deref. 2006-04-14 18:54:51 +00:00
christos
abb62e86a3 Coverity CID 1105: Avoid NULL deref. 2006-04-14 18:50:18 +00:00
christos
7881347975 Coverity CID 2314: Free memory if we fail to allocate rings. 2006-04-14 18:45:53 +00:00
riz
b602094b15 Fix some RCS IDs, and the comments including them. 2006-04-14 18:38:50 +00:00
christos
147a6ae8fb If __COVERITY__ is defined, turn on KASSERT and _DIAGASSERT. 2006-04-14 18:24:56 +00:00
christos
53daf02156 Coverity CID 1103: Avoid NULL pointer deref. 2006-04-14 17:58:01 +00:00
christos
cbf7d00ad2 Coverity CID 2439: Remove bogus test. 2006-04-14 17:54:26 +00:00
christos
7fad94d825 Coverity CID 1111: Fix cut'n'paste bug! 2006-04-14 17:50:27 +00:00
christos
4be84f7cdb Coverity CID 1112: If we did not get a packet, bail out early. 2006-04-14 17:46:29 +00:00
christos
af27d5132b Coverity CID 773: Add a KASSERT to appease coverity. 2006-04-14 17:42:29 +00:00
christos
c6bb3943dd Coverity CID 1100: Avoid NULL pointer dereferences. 2006-04-14 17:36:51 +00:00
christos
30baf54001 Coverity CID 1101: Protect against address argument being NULL. 2006-04-14 17:33:10 +00:00
christos
9a52196c1d Coverity CID 1131: Avoid NULL pointer dereference. 2006-04-14 17:27:08 +00:00
christos
b6fca780b3 Coverity CID 729: Remove dead code. 2006-04-14 17:21:17 +00:00
christos
4656123e9c Use c instead of s->cur. 2006-04-14 17:18:59 +00:00
christos
24da938ec7 Coverity CID 1115: It is quite pointless to have a DIAGNOSTIC panic that
checks a variable for being NULL, and if we are not in DIAGNOSTIC code, to
just dereference it causing a crash!
2006-04-14 17:07:23 +00:00
christos
d8ff0a7b54 Coverity CID 1132: avoid NULL derefs. 2006-04-14 17:04:06 +00:00
christos
96408ef538 Coverity CID 730: Ifdef dead code appropriately. 2006-04-14 17:00:55 +00:00
christos
6236eeb27a Don't free str; it is used in pat_add. Noted by: Kouichirou Hiratsuka 2006-04-14 16:57:01 +00:00
christos
a2b69f5e33 Coverity CID 1354: Add a KASSERT to convince coverity that there is no NULL
pointer dereference.
2006-04-14 16:41:53 +00:00
christos
457f653f3f Coverity CID 1355: Add a KASSERT to convince coverity that this is not NULL. 2006-04-14 16:39:33 +00:00
christos
2fa8f13ac7 Coverity CID 1133: Abort quickly if we don't have a buffer in all the cases. 2006-04-14 16:31:27 +00:00
christos
cd2eb11f45 Coverity CID 2330: Spell out that we are going to use the memory we allocated. 2006-04-14 16:26:46 +00:00
christos
1b815db766 Coverity CID 1084: Don't call suser if we don't have a process context. 2006-04-14 16:19:44 +00:00
blymn
aca1d2572b Add header file for new io statistics collection. 2006-04-14 13:21:49 +00:00
blymn
8cf43bce86 New io statistics collection. 2006-04-14 13:20:48 +00:00
blymn
d791be4b46 New io statistics 2006-04-14 13:19:03 +00:00
blymn
eb5227b874 Functions to support io statistics collection. 2006-04-14 13:17:20 +00:00
blymn
906131e6f3 Update to use the new kernel io statistics. 2006-04-14 13:14:57 +00:00
blymn
e48af18bc5 Update to use new kernel io statistics. 2006-04-14 13:14:06 +00:00