Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/isc/atheros_hal/dist/ar5210 Improve fallthrough...
details:   https://anonhg.NetBSD.org/src/rev/db6faaab9909
branches:  trunk
changeset: 449117:db6faaab9909
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 23 11:24:53 2019 +0000
description:
Improve fallthrough statement wording
Fixes build with kUBSan on NetBSD/i386.
diffstat:
 sys/external/isc/atheros_hal/dist/ar5210/ar5210_xmit.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d57b23fc5706 -r db6faaab9909 sys/external/isc/atheros_hal/dist/ar5210/ar5210_xmit.c
--- a/sys/external/isc/atheros_hal/dist/ar5210/ar5210_xmit.c    Sat Feb 23 11:23:07 2019 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5210/ar5210_xmit.c    Sat Feb 23 11:24:53 2019 +0000
@@ -14,7 +14,7 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  *
- * $Id: ar5210_xmit.c,v 1.1.1.1 2008/12/11 04:46:29 alc Exp $
+ * $Id: ar5210_xmit.c,v 1.2 2019/02/23 11:24:53 kamil Exp $
  */
 #include "opt_ah.h"
 
@@ -389,7 +389,7 @@
        case HAL_TX_QUEUE_INACTIVE:
                HALDEBUG(ah, HAL_DEBUG_ANY, "%s: inactive queue %u\n",
                    __func__, q);
-               /* fal thru... */
+               /* FALLTHROUGH */
        default:
                return AH_FALSE;
        }
Home |
Main Index |
Thread Index |
Old Index