svn commit: r220093 - stable/8/sys/compat/freebsd32
Konstantin Belousov
kib at FreeBSD.org
Mon Mar 28 08:23:46 UTC 2011
Author: kib
Date: Mon Mar 28 08:23:45 2011
New Revision: 220093
URL: http://svn.freebsd.org/changeset/base/220093
Log:
MFC r219987:
Remove unneccessary panics.
Modified:
stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/compat/freebsd32/freebsd32_ioctl.c
==============================================================================
--- stable/8/sys/compat/freebsd32/freebsd32_ioctl.c Mon Mar 28 08:22:13 2011 (r220092)
+++ stable/8/sys/compat/freebsd32/freebsd32_ioctl.c Mon Mar 28 08:23:45 2011 (r220093)
@@ -66,8 +66,6 @@ freebsd32_ioctl_md(struct thread *td, st
u_long com = 0;
int error;
- if (uap->data == NULL)
- panic("%s: where is my ioctl data??", __func__);
if (uap->com & IOC_IN) {
if ((error = copyin(uap->data, &md32, sizeof(md32)))) {
return (error);
@@ -132,9 +130,6 @@ freebsd32_ioctl_ioc_toc_header(struct th
struct ioc_toc_header32 toch32;
int error;
- if (uap->data == NULL)
- panic("%s: where is my ioctl data??", __func__);
-
if ((error = copyin(uap->data, &toch32, sizeof(toch32))))
return (error);
CP(toch32, toch, len);
@@ -154,9 +149,6 @@ freebsd32_ioctl_ioc_read_toc(struct thre
struct ioc_read_toc_entry32 toce32;
int error;
- if (uap->data == NULL)
- panic("%s: where is my ioctl data??", __func__);
-
if ((error = copyin(uap->data, &toce32, sizeof(toce32))))
return (error);
CP(toce32, toce, address_format);
More information about the svn-src-stable
mailing list