Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb define un (pointed out by kre@)



details:   https://anonhg.NetBSD.org/src/rev/e66026ac41e4
branches:  trunk
changeset: 970259:e66026ac41e4
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 18 02:58:24 2020 +0000

description:
define un (pointed out by kre@)

diffstat:

 sys/dev/usb/if_aue.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bd496fcbbdf5 -r e66026ac41e4 sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c      Wed Mar 18 02:36:53 2020 +0000
+++ b/sys/dev/usb/if_aue.c      Wed Mar 18 02:58:24 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_aue.c,v 1.168 2020/03/15 23:04:50 thorpej Exp $     */
+/*     $NetBSD: if_aue.c,v 1.169 2020/03/18 02:58:24 christos Exp $    */
 
 /*
  * Copyright (c) 1997, 1998, 1999, 2000
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.168 2020/03/15 23:04:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aue.c,v 1.169 2020/03/18 02:58:24 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1012,6 +1012,7 @@
 static int
 aue_uno_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {
+       struct usbnet * const   un = ifp->if_softc;
 
        AUEHIST_FUNC();
        AUEHIST_CALLARGSN(5, "aue%jd: enter cmd %#jx data %#jx",



Home | Main Index | Thread Index | Old Index