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/9cfc02cadbd5
branches:  trunk
changeset: 453852:9cfc02cadbd5
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 fc7d56869675 -r 9cfc02cadbd5 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