lukem
9f3f3adf23
appease gcc -Wuninitialized
2005-06-01 11:08:57 +00:00
lukem
7fbaf47f83
Compile the following files with -Wno-uninitialized:
...
vfprintf.c See rev 1.46 for why we can't fix this.
vfwprintf.c Needs some effort
vfwscanf.c Needs some effort
2005-06-01 11:06:01 +00:00
scw
51d46cb132
Fix const and shadow variable fallout.
2005-06-01 10:55:07 +00:00
ragge
0979c0be06
The read/read multiple cacheline problem may also appear on the 3114
...
controller, so apply the cacheline fix to it as well.
2005-06-01 10:00:35 +00:00
blymn
e703150707
Unconstify rnode to prevent compile error when GATEWAY option set.
2005-06-01 09:45:15 +00:00
tron
6b429e7ed5
Remove unused kernel configuration.
2005-06-01 09:44:12 +00:00
sekiya
17c5e67809
Regen.
2005-06-01 09:16:07 +00:00
sekiya
47f4828c71
Add product IDs for devices that use the RT2500USB chip. From OpenBSD.
2005-06-01 09:15:41 +00:00
sekiya
58a736f2b9
Fix compilation problem when CBB_DEBUG is defined.
2005-06-01 09:10:57 +00:00
sekiya
e1dc11af89
"resister" -> "register"
2005-06-01 08:39:32 +00:00
lukem
46af29904e
appease gcc -Wuninitialized
2005-06-01 05:54:07 +00:00
lukem
3af3e6a479
appease gcc -Wuninitialized
2005-06-01 05:41:48 +00:00
lukem
63246b1ef4
Ensure dbp is initialized to NULL before trying to use it in an error codepath.
...
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13. Hi Mycroft! :)
2005-06-01 05:39:17 +00:00
lukem
d999a32485
Ensure that we don't try to free random memory when another malloc fails,
...
by initializing newprepare, newparent, and newchild to NULL.
Detected by gcc -Wuninitialized.
2005-06-01 05:30:54 +00:00
lukem
b8fe389b4c
Exit via the correct cleanup path; we can't munmap until the mmap has
...
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)
2005-06-01 05:24:54 +00:00
lukem
2f0fdfa7f7
Move the test for "more strict reverse lookup handling" to the correct
...
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)
2005-06-01 05:19:21 +00:00
lukem
178e201b11
appease gcc -Wuninitialized
2005-06-01 04:38:40 +00:00
martin
3829274a1e
Adapt to constification
2005-06-01 03:51:58 +00:00
christos
4ac0cb602f
add genassym
2005-06-01 03:22:56 +00:00
uwe
609ad365b1
Add CWARNFLAGS.<fn>
2005-06-01 00:11:32 +00:00
uwe
5442d49e77
Constify. Drivers pass const default calibration data to
...
WSMOUSEIO_SCALIBCOORDS using __UNCONST, so make sure we don't try to
modify it.
2005-06-01 00:02:17 +00:00
uwe
7d69499bba
Fix misleading indentation.
2005-05-31 23:37:47 +00:00
uwe
94216ed61f
Use __UNCONST to pass default calibration data to tpcalib_ioctl().
2005-05-31 23:21:03 +00:00
uwe
1f2b389b7e
Constify.
2005-05-31 23:14:02 +00:00
uwe
c93f856fa9
Fix shadowing.
2005-05-31 23:12:18 +00:00
uwe
6a99517a37
Constify.
2005-05-31 23:04:10 +00:00
uwe
1760382cc8
Constify as -Wcast-qual seyeth.
2005-05-31 22:45:04 +00:00
uwe
73c9c64f6c
Declare platid_name() to return const.
...
Revert previous kludge, we can return string literal now.
2005-05-31 22:43:09 +00:00
uwe
87d1a94219
Make "name" in struct platid_name const.
...
Declare platid_name() to return pointer to const.
2005-05-31 22:41:28 +00:00
drochner
d033b4e4b0
as in apm, the "busname" thing is unnecessary
...
being here, fix constification problems and cleanup variable names
from function prototypes
2005-05-31 22:39:08 +00:00
uwe
c7e2bd07b6
Don't return string literal from a function that is not declared to
...
return const.
XXX: Kludge for now, I don't want to deal with the fallout, especially
as this code is also compile for Windows CE (hpcboot.exe).
2005-05-31 22:36:12 +00:00
wiz
7a9582b62a
Spread some more unsigned for less casts.
2005-05-31 22:29:41 +00:00
uwe
e7b971967b
Avoid naming function parameters "platid", there's a global variable
...
of that name.
2005-05-31 22:28:49 +00:00
tron
a97eb895f6
Remove attachment for the piixide(4) driver from all non-x86 kernel
...
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
uwe
9af1a3ff5e
Preserve const in cast.
2005-05-31 22:22:36 +00:00
tron
fe980f65d4
Remove unnecessary per-driver scsibus attachments and use
...
"scsibus* at scsi?" instead.
2005-05-31 22:09:08 +00:00
uwe
49d5bf28d9
Rename s/newlwp/nlwp/ parameter to cpu_switch_prepare() to avoid
...
shadowing a function of the same name. Rename oldlwp to match.
2005-05-31 22:06:51 +00:00
uwe
639d538d14
Constify as -Wcast-qual seyeth.
2005-05-31 22:01:24 +00:00
drochner
5e6bfb3b86
inspired by the last commit -- apm_attach_args aren't necessary at all,
...
kill them
being here fix cast-qual problems in debug code
2005-05-31 21:47:22 +00:00
martin
b7680d1847
Rearange slightly to avoid the use of an unitialized variable in the
...
(unlikely) case that we do not have any hardware clock.
2005-05-31 21:34:21 +00:00
christos
aee62d396e
Always call mach64_init_screen, otherwise we'll panic later if DIAGNOSTIC
...
when we call switch screen and the machine has a serial console. Thanks to
martin for the fix.
2005-05-31 21:17:03 +00:00
christos
67f01e2568
minor knf. no functional change.
2005-05-31 21:16:06 +00:00
drochner
3f6e0487d2
lots of cast-qual fallout
2005-05-31 21:08:37 +00:00
wiz
0ba4110751
Move unsigned to where it belongs, to remove a cast.
2005-05-31 21:03:58 +00:00
skrll
9c5ec319c5
Support LD_BIND_NOW on sh3..
2005-05-31 19:30:38 +00:00
drochner
31924c84cd
cast-qual fallout
2005-05-31 19:20:37 +00:00
christos
fef1b9e902
Add an entry for genassym.
2005-05-31 18:42:44 +00:00
christos
2514b28c3f
PR/30387: Nicolas Joly: -current i386 GENERIC_LAPTOP kernel compilation failure
2005-05-31 17:51:49 +00:00
macallan
71c7a235ad
added initialization for tv in resettodr()
2005-05-31 17:34:35 +00:00
macallan
2ab2c90883
fixed a stupid typo that chained copycols to itself
2005-05-31 17:33:02 +00:00