Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add missing "else" in wm_nvm_release().
details: https://anonhg.NetBSD.org/src/rev/aa59592b22e4
branches: trunk
changeset: 354704:aa59592b22e4
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 26 04:18:14 2017 +0000
description:
Add missing "else" in wm_nvm_release().
diffstat:
sys/dev/pci/if_wm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b267333fefd4 -r aa59592b22e4 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Mon Jun 26 04:15:06 2017 +0000
+++ b/sys/dev/pci/if_wm.c Mon Jun 26 04:18:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.515 2017/06/26 04:15:06 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.516 2017/06/26 04:18:14 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.515 2017/06/26 04:15:06 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.516 2017/06/26 04:18:14 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -12079,7 +12079,7 @@
wm_put_nvm_ich8lan(sc);
} else if (sc->sc_flags & WM_F_LOCK_EXTCNF)
wm_put_swfwhw_semaphore(sc);
- if (sc->sc_flags & WM_F_LOCK_SWFW)
+ else if (sc->sc_flags & WM_F_LOCK_SWFW)
wm_put_swfw_semaphore(sc, SWFW_EEP_SM);
else if (sc->sc_flags & WM_F_LOCK_SWSM)
wm_put_swsm_semaphore(sc);
Home |
Main Index |
Thread Index |
Old Index