Commit Graph

119988 Commits

Author SHA1 Message Date
mycroft cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft e24c0c7dfc Move a panic() to a different location, and eliminate a bogus initializer. 2003-10-29 03:40:56 +00:00
mycroft 5ef2e1b264 Fix the real cause of the uninitialized warning -- we were looking for the VLAN
tag in the wrong place!
2003-10-29 03:31:22 +00:00
mycroft 035a25dd52 Simplify a little. 2003-10-29 02:33:51 +00:00
mycroft 3b7d66667e Return EINVAL rather than stepping off a null pointer. 2003-10-29 02:31:55 +00:00
mycroft 1f63a53cea Rework to remove bogus initializers. Also fixes a potential problem with
amr_teardown() unmapping too much.
2003-10-29 02:27:32 +00:00
mycroft e0e9384a8e Reorder, eliminating a bogus initializer. 2003-10-29 02:13:09 +00:00
lukem 443c980dcd use ${.PREFIX} instead of ${.TARGET:R} 2003-10-29 02:10:57 +00:00
mycroft a246f3b7a5 Reorder slightly to eliminate bogus initializers. 2003-10-29 02:02:05 +00:00
mycroft e4bad7fff5 Rework slightly to remove bogus initializer. 2003-10-29 01:54:24 +00:00
mycroft be505a4f82 Adjust to remove bogus initializer. 2003-10-29 01:25:04 +00:00
mycroft 46ef74d63c Recode to remove bogus initializer. 2003-10-29 01:21:38 +00:00
mycroft 0b179751bd XXX: gcc 2003-10-29 01:12:23 +00:00
grant c00167fe91 trim leading whitespace from an #error, shuts up warning from
makedepend.
2003-10-29 01:11:16 +00:00
mycroft 9e80bdd1f0 Recode the probe slightly to remove a bogus initializer.
Also, don't do the rest of the probe work if the product ID mismatches, since
we'll return 0 anyway.
2003-10-29 01:10:12 +00:00
mycroft 9d009e4f2a Remove bogus initializer, and fix a typo in a loop variable instead. 2003-10-29 00:48:15 +00:00
mycroft dc3fafca35 Remove bogus initializer, and instead fix an =/== typo. 2003-10-29 00:34:58 +00:00
mycroft 39c696c2e6 Remove unnecessary code. 2003-10-28 23:56:00 +00:00
mycroft 909205520a KNF. 2003-10-28 23:40:27 +00:00
mycroft 16413c6f77 The "bad status" case is impossible -- the switch value is constrained to 2
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00
mycroft 898602e6b1 Or the config_deactivate() return values. 2003-10-28 23:33:46 +00:00
mycroft 9013c2cac4 Eliminate bogus initializer.
We shouldn't be adding the time stamp to the entropy pool if the interrupt
wasn't for us.
2003-10-28 23:26:28 +00:00
mycroft af9bc6becf Eliminate bogus initializer. 2003-10-28 23:16:50 +00:00
mycroft 659649b149 The previous change was wrong. The variables were legitimately uninitialized.
This code was broken on 2002/10/22 by christos.
2003-10-28 23:10:02 +00:00
mycroft 6ad04f2a27 XXX: gcc 2003-10-28 23:04:26 +00:00
mycroft c976b0b592 Eliminate bogus initializer (the code was technically wrong). 2003-10-28 22:56:19 +00:00
mycroft 3aae7144ea Eliminate bogus initializer. 2003-10-28 22:52:53 +00:00
kleink 6bffe7fb50 Upon rereading the implementation suggestions in the standard, rename the
double-precision version to __fpclassifyd().  No need to diverge, here.
2003-10-28 22:50:42 +00:00
mycroft f6f24ead9c In _bus_dma_uiomove():
* Don't punt after the first iov in the UIO_SYSSPACE case.  Not that this ever
  happens in practice right now.
* If we get through the loop, error==0 by definition, so just return 0.
* Eliminate bogus initializer.
2003-10-28 22:49:51 +00:00
mycroft 8785679414 Mark this initializer in the canonical way so it can be found later. 2003-10-28 22:31:12 +00:00
mycroft 3741fa9860 Kill another bogus initializer. 2003-10-28 22:22:28 +00:00
kleink 75327729a2 C99 7.12.3.1: add IEEE library portions of fpclassify. Don't build these
yet as the VAX implementation is still subject to discussion.
2003-10-28 22:05:37 +00:00
kleink 72f016b386 Retire FPA support from this file at last; suggested by Richard Earnshaw
and not objected to by port-arm.
2003-10-28 21:44:04 +00:00
kleink 7b674621bf Retire FPA support from this file at last; suggested by Richard Earnshaw
and not objected to by port-arm.
2003-10-28 21:27:08 +00:00
kleink dbecd8cc2e Similar to sparc, make available the extended-precision definitions for
_KERNEL; the FPE package will require it once it's used on sun2.
2003-10-28 21:23:47 +00:00
christos bfac827045 include <malloc.h> only if we don't have <stdlib.h> 2003-10-28 20:43:51 +00:00
mycroft dd65577904 Remove bogus initializer. 2003-10-28 20:39:54 +00:00
mycroft d7f0f6de8f Do the previous differently. 2003-10-28 20:27:22 +00:00
mycroft a72eae7293 Fix previous differently. 2003-10-28 20:21:44 +00:00
mycroft 8655a8eb83 Also, if we're going to bail, we should free the memory we just allocated... 2003-10-28 20:16:28 +00:00
mycroft 52beeea9f1 Previous patch created a dead break. 2003-10-28 20:15:19 +00:00
mycroft a071a627d4 Return a sensible error code in the previous. 2003-10-28 20:13:23 +00:00
skrll c5a4c60e2e Compile sys/kern/uipc_socket.c -fno-strict-aliasing for now. PR 23044. 2003-10-28 20:12:00 +00:00
matt f22eb2930b From gcc-patches:
* real.c (encode_ieee_single): Ensure proper promotion.
Back out change to i386.c
2003-10-28 19:08:12 +00:00
matt ebe74b9e7f fix bogus GCC uninitialized variable warning. Use TAILQ_FOREACH. 2003-10-28 18:35:06 +00:00
matt e633976ebd Elminate GCC uninitialized variable warning. 2003-10-28 18:21:49 +00:00
skrll a366cd57d6 Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror the
file specific flags support of bsd.{lib,prog}.mk.

From Christos.
2003-10-28 17:58:57 +00:00
tsutsui 2f551b5f25 NULL -> '\0' 2003-10-28 17:54:35 +00:00
hannken f3ce5e583f Get rid of uninitialized variable. 2003-10-28 17:37:25 +00:00
pooka aa476f1628 Avoid splx() with uninitialized priority level by duplicating some code
to get rid of gotos.

While doing that, add more verbosity on what failed if attach is not succesful.
2003-10-28 17:35:30 +00:00