Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Missed one of the (void *) casts on the ar...
details: https://anonhg.NetBSD.org/src/rev/43eced69cd94
branches: trunk
changeset: 779779:43eced69cd94
user: dsl <dsl%NetBSD.org@localhost>
date: Mon Jun 18 06:21:11 2012 +0000
description:
Missed one of the (void *) casts on the args to sysctl_createv().
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r a7c8972dac69 -r 43eced69cd94 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Mon Jun 18 01:40:55 2012 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Mon Jun 18 06:21:11 2012 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/
-/*$NetBSD: ixgbe.c,v 1.4 2012/06/16 19:54:01 dsl Exp $*/
+/*$NetBSD: ixgbe.c,v 1.5 2012/06/18 06:21:11 dsl Exp $*/
#include "opt_inet.h"
@@ -5461,8 +5461,8 @@
if (sysctl_createv(log, 0, &rnode, &cnode,
CTLFLAG_READONLY, CTLTYPE_INT,
"interrupt_rate", SYSCTL_DESCR("Interrupt Rate"),
- ixgbe_sysctl_interrupt_rate_handler, 0, &adapter->queues[i],
- 0, CTL_CREATE, CTL_EOL) != 0)
+ ixgbe_sysctl_interrupt_rate_handler, 0,
+ (void *)&adapter->queues[i], 0, CTL_CREATE, CTL_EOL) != 0)
break;
if (sysctl_createv(log, 0, &rnode, &cnode,
Home |
Main Index |
Thread Index |
Old Index