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 fix typo in error handling of ixgbe_alloca...



details:   https://anonhg.NetBSD.org/src/rev/5272cb82b1d1
branches:  trunk
changeset: 459173:5272cb82b1d1
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Thu Aug 29 09:35:18 2019 +0000

description:
fix typo in error handling of ixgbe_allocate_legacy().

ok by msaitoh@n.o

pullup-8, pullup-9

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 46742c7c6f02 -r 5272cb82b1d1 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 29 09:17:51 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Aug 29 09:35:18 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.204 2019/08/28 08:54:21 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.205 2019/08/29 09:35:18 knakahara Exp $ */
 
 /******************************************************************************
 
@@ -6537,7 +6537,7 @@
            ixgbe_handle_que, que);
 
        if ((!(adapter->feat_en & IXGBE_FEATURE_LEGACY_TX)
-               & (txr->txr_si == NULL)) || (que->que_si == NULL)) {
+               && (txr->txr_si == NULL)) || (que->que_si == NULL)) {
                aprint_error_dev(dev,
                    "could not establish software interrupts\n");
 



Home | Main Index | Thread Index | Old Index