perry
93124077ae
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:27:29 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
he
c92bbdc733
Follow up after adding const by doing some more.
2005-07-05 22:20:47 +00:00
he
3bed0ba4dd
Add const to arrays initialized with string constants.
...
Found while compiling for vax (why wasn't this caught by newer gcc?)
2005-07-05 22:15:41 +00:00
christos
47f6845101
add a const.
2005-06-26 22:34:38 +00:00
christos
d0ef8ba60e
- need string.h
...
- add const.
2005-06-26 22:34:12 +00:00
christos
00baafe7d1
- need <string.h>
...
- cast arguments to ctype is*() functions to unsigned char.
2005-06-26 22:33:31 +00:00
christos
7674b13eed
add const
2005-06-26 22:32:47 +00:00
christos
d360ba5ea6
make some function declarations that are used both in the kernel and userland
...
visible for both.
2005-06-26 22:32:30 +00:00
christos
7cdea212c0
No 0x in front of %p...
2005-05-22 15:54:45 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
perry
18db93c7f6
de-__P
2005-02-04 02:10:35 +00:00
explorer
d335893c1b
Fix warnings of the type: long int format, int arg
2004-11-08 21:30:05 +00:00
yamt
ec18670e28
fix printf formats to match with sys/buf.h rev.1.75.
...
PR/26994 from Andreas Wiese.
2004-09-19 12:22:22 +00:00
jdolecek
3e385f3b90
vinumioctl():
...
actually, those return statements were reachable, so put them back to the
appropriate case statements, and add some break statements for readability
2004-09-18 07:38:26 +00:00
jdolecek
9acf283bdf
vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
...
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann
while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s
XXX vinum code is !@#$%^
2004-09-17 19:21:03 +00:00
jdolecek
6c0c833e0d
change the defines for cdev and bdev majors to 162, which is assigned
...
to vinum now
fixes PR kern/26855 by Andreas Wiese
2004-09-05 15:10:25 +00:00
itojun
3696a8d60c
use strlcpy
2004-06-22 14:00:54 +00:00
jdolecek
38324d7794
add some (long long int) casts for log() arguments, so that this compiles
...
on LP64
fixed port-alpha/23566 by Paul Mather
2003-11-25 20:11:59 +00:00
chs
0e9360f160
NULL -> 0
2003-10-25 16:15:07 +00:00
grog
b95a3b2e71
Change definitions to compile correctly without VINUMDEBUG flag.
...
Reported by: hubertf
Remove $FreeBSD$ ID string.
2003-10-15 01:31:39 +00:00
grog
d88f6bbaeb
Initial import of Vinum kernel module.
...
Ported by: Ramsubramanyam <Ramsubramanyam@infosys.com>,
Atul Kabra <Atul_Kabra@infosys.com>,
Maneesh Jhinger <maneesh_jhinger@infosys.com>
Reviewed by: lukem
2003-10-10 03:07:27 +00:00