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 Don't expose garbage data of hw.ixvN.debug.
details: https://anonhg.NetBSD.org/src/rev/d15d1fef2dc5
branches: trunk
changeset: 359715:d15d1fef2dc5
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 18 09:58:40 2022 +0000
description:
Don't expose garbage data of hw.ixvN.debug.
diffstat:
sys/dev/pci/ixgbe/ixv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0df461c9c9e4 -r d15d1fef2dc5 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c Tue Jan 18 09:27:46 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c Tue Jan 18 09:58:40 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixv.c,v 1.173 2021/12/24 05:13:39 msaitoh Exp $ */
+/* $NetBSD: ixv.c,v 1.174 2022/01/18 09:58:40 msaitoh Exp $ */
/******************************************************************************
@@ -35,7 +35,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/if_ixv.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.173 2021/12/24 05:13:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixv.c,v 1.174 2022/01/18 09:58:40 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2954,7 +2954,7 @@
{
struct sysctlnode node = *rnode;
struct adapter *adapter = (struct adapter *)node.sysctl_data;
- int error, result;
+ int error, result = 0;
node.sysctl_data = &result;
error = sysctl_lookup(SYSCTLFN_CALL(&node));
Home |
Main Index |
Thread Index |
Old Index