Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci init error to 0 in iwm_send_cmd().
details: https://anonhg.NetBSD.org/src/rev/97c7365f35bd
branches: trunk
changeset: 336479:97c7365f35bd
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Mar 03 09:22:06 2015 +0000
description:
init error to 0 in iwm_send_cmd().
>From OpenBSD rev.1.27.
diffstat:
sys/dev/pci/if_iwm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7d3d2ca747f0 -r 97c7365f35bd sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Tue Mar 03 09:16:56 2015 +0000
+++ b/sys/dev/pci/if_iwm.c Tue Mar 03 09:22:06 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iwm.c,v 1.18 2015/03/03 09:16:56 nonaka Exp $ */
+/* $NetBSD: if_iwm.c,v 1.19 2015/03/03 09:22:06 nonaka Exp $ */
/* OpenBSD: if_iwm.c,v 1.18 2015/02/11 01:12:42 brad Exp */
/*
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.18 2015/03/03 09:16:56 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.19 2015/03/03 09:22:06 nonaka Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -3511,7 +3511,7 @@
struct mbuf *m;
bus_addr_t paddr;
uint32_t addr_lo;
- int error, i, paylen, off, s;
+ int error = 0, i, paylen, off, s;
int code;
int async, wantresp;
Home |
Main Index |
Thread Index |
Old Index