Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make m_devget()'s 3rd argument to 0 again.



details:   https://anonhg.NetBSD.org/src/rev/7d51a5e84d74
branches:  trunk
changeset: 839786:7d51a5e84d74
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Mar 06 08:08:25 2019 +0000

description:
Make m_devget()'s 3rd argument to 0 again.

diffstat:

 sys/dev/usb/if_upgt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a34185ac8a30 -r 7d51a5e84d74 sys/dev/usb/if_upgt.c
--- a/sys/dev/usb/if_upgt.c     Wed Mar 06 07:21:55 2019 +0000
+++ b/sys/dev/usb/if_upgt.c     Wed Mar 06 08:08:25 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_upgt.c,v 1.24 2019/03/05 08:25:03 msaitoh Exp $     */
+/*     $NetBSD: if_upgt.c,v 1.25 2019/03/06 08:08:25 msaitoh Exp $     */
 /*     $OpenBSD: if_upgt.c,v 1.49 2010/04/20 22:05:43 tedu Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.24 2019/03/05 08:25:03 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.25 2019/03/06 08:08:25 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1841,7 +1841,7 @@
        rxdesc = (struct upgt_lmac_rx_desc *)data;
 
        /* create mbuf which is suitable for strict alignment archs */
-       m = m_devget(rxdesc->data, pkglen, ETHER_ALIGN, ifp);
+       m = m_devget(rxdesc->data, pkglen, 0, ifp);
        if (m == NULL) {
                DPRINTF(1, "%s: could not create RX mbuf\n",
                   device_xname(sc->sc_dev));



Home | Main Index | Thread Index | Old Index