Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb PR/50904: Fix variable assignment inside if-clause.
details: https://anonhg.NetBSD.org/src/rev/d13356f1416b
branches: trunk
changeset: 814104:d13356f1416b
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Mar 07 10:52:17 2016 +0000
description:
PR/50904: Fix variable assignment inside if-clause.
diffstat:
sys/dev/usb/if_smsc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5e7c73ab2286 -r d13356f1416b sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c Mon Mar 07 08:59:00 2016 +0000
+++ b/sys/dev/usb/if_smsc.c Mon Mar 07 10:52:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_smsc.c,v 1.25 2016/02/09 08:32:12 ozaki-r Exp $ */
+/* $NetBSD: if_smsc.c,v 1.26 2016/03/07 10:52:17 skrll Exp $ */
/* $OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $ */
/* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@@ -772,7 +772,7 @@
smsc_write_reg(sc, SMSC_PM_CTRL, SMSC_PM_CTRL_PHY_RST);
if ((err = smsc_wait_for_bits(sc, SMSC_PM_CTRL,
- SMSC_PM_CTRL_PHY_RST) != 0)) {
+ SMSC_PM_CTRL_PHY_RST)) != 0) {
smsc_warn_printf(sc, "timed-out waiting for phy reset to "
"complete\n");
goto init_failed;
Home |
Main Index |
Thread Index |
Old Index