Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Appease module build
details: https://anonhg.NetBSD.org/src/rev/bbf92df2dfbf
branches: trunk
changeset: 964664:bbf92df2dfbf
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Aug 11 08:56:53 2019 +0000
description:
Appease module build
diffstat:
sys/dev/usb/if_axen.c | 6 +++---
sys/dev/usb/if_udav.c | 6 +++---
sys/dev/usb/if_ure.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 9d9d4a3f443e -r bbf92df2dfbf sys/dev/usb/if_axen.c
--- a/sys/dev/usb/if_axen.c Sun Aug 11 08:26:46 2019 +0000
+++ b/sys/dev/usb/if_axen.c Sun Aug 11 08:56:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axen.c,v 1.61 2019/08/11 02:37:03 mrg Exp $ */
+/* $NetBSD: if_axen.c,v 1.62 2019/08/11 08:57:36 skrll Exp $ */
/* $OpenBSD: if_axen.c,v 1.3 2013/10/21 10:10:22 yuo Exp $ */
/*
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.61 2019/08/11 02:37:03 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.62 2019/08/11 08:57:36 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -863,7 +863,7 @@
usbnet_isowned_tx(un);
- if (m->m_pkthdr.len > un->un_tx_bufsz - sizeof(hdr))
+ if ((unsigned)m->m_pkthdr.len > un->un_tx_bufsz - sizeof(hdr))
return 0;
length = m->m_pkthdr.len + sizeof(hdr);
diff -r 9d9d4a3f443e -r bbf92df2dfbf sys/dev/usb/if_udav.c
--- a/sys/dev/usb/if_udav.c Sun Aug 11 08:26:46 2019 +0000
+++ b/sys/dev/usb/if_udav.c Sun Aug 11 08:56:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_udav.c,v 1.65 2019/08/10 02:17:36 mrg Exp $ */
+/* $NetBSD: if_udav.c,v 1.66 2019/08/11 08:56:53 skrll Exp $ */
/* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */
/*
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.65 2019/08/10 02:17:36 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.66 2019/08/11 08:56:53 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -672,7 +672,7 @@
DPRINTF(("%s: %s: enter\n", device_xname(un->un_dev), __func__));
- if (m->m_pkthdr.len > UDAV_BUFSZ - 2)
+ if ((unsigned)m->m_pkthdr.len > un->un_tx_bufsz - 2)
return 0;
/* Copy the mbuf data into a contiguous buffer */
diff -r 9d9d4a3f443e -r bbf92df2dfbf sys/dev/usb/if_ure.c
--- a/sys/dev/usb/if_ure.c Sun Aug 11 08:26:46 2019 +0000
+++ b/sys/dev/usb/if_ure.c Sun Aug 11 08:56:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ure.c,v 1.23 2019/08/11 02:37:04 mrg Exp $ */
+/* $NetBSD: if_ure.c,v 1.24 2019/08/11 08:57:36 skrll Exp $ */
/* $OpenBSD: if_ure.c,v 1.10 2018/11/02 21:32:30 jcs Exp $ */
/*-
@@ -30,7 +30,7 @@
/* RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.23 2019/08/11 02:37:04 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.24 2019/08/11 08:57:36 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1066,7 +1066,7 @@
usbnet_isowned_tx(un);
- if (m->m_pkthdr.len > un->un_tx_bufsz - sizeof(txhdr))
+ if ((unsigned)m->m_pkthdr.len > un->un_tx_bufsz - sizeof(txhdr))
return 0;
/* header */
Home |
Main Index |
Thread Index |
Old Index