Commit Graph

10 Commits

Author SHA1 Message Date
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