Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci/imcsmb Provide a default case also when bui...
details: https://anonhg.NetBSD.org/src/rev/b5740a7ed3b7
branches: trunk
changeset: 360529:b5740a7ed3b7
user: maya <maya%NetBSD.org@localhost>
date: Thu Mar 15 23:57:17 2018 +0000
description:
Provide a default case also when building imc as builtin.
Fixes ALL kernel build. ok pgoyette.
diffstat:
sys/arch/x86/pci/imcsmb/imc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 35bf77d90f14 -r b5740a7ed3b7 sys/arch/x86/pci/imcsmb/imc.c
--- a/sys/arch/x86/pci/imcsmb/imc.c Thu Mar 15 18:40:16 2018 +0000
+++ b/sys/arch/x86/pci/imcsmb/imc.c Thu Mar 15 23:57:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imc.c,v 1.1 2018/03/01 04:45:06 pgoyette Exp $ */
+/* $NetBSD: imc.c,v 1.2 2018/03/15 23:57:17 maya Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.1 2018/03/01 04:45:06 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.2 2018/03/15 23:57:17 maya Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -394,10 +394,8 @@
mutex_destroy(&imc_access_mutex);
break;
default:
-#ifdef _MODULE
error = ENOTTY;
break;
-#endif
}
return error;
Home |
Main Index |
Thread Index |
Old Index