opnsense-src/sys/dev/usb
Dimitry Andric 02d4a225db With clang 3.9.0, compiling uplcom results in the following warnings:
sys/dev/usb/serial/uplcom.c:543:29: error: implicit conversion from 'int' to 'int8_t' (aka 'signed char') changes value from 192 to -64 [-Werror,-Wconstant-conversion]
        if (uplcom_pl2303_do(udev, UT_READ_VENDOR_DEVICE, UPLCOM_SET_REQUEST, 0x8484, 0, 1)
            ~~~~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~~~~~~~
sys/dev/usb/usb.h:179:53: note: expanded from macro 'UT_READ_VENDOR_DEVICE'
#define UT_READ_VENDOR_DEVICE   (UT_READ  | UT_VENDOR | UT_DEVICE)
                                 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

This is because UT_READ is 0x80, so the int8_t argument is wrapped to a
negative value.  Fix this by using uint8_t instead.

Reviewed by:	imp, hselasky
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D7776
2016-09-04 16:59:35 +00:00
..
controller Don't separate the status stage of the XHCI USB control transfers into 2016-08-22 19:32:50 +00:00
gadget Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
input Fix key delay and repeat, part 2. 2016-08-24 05:54:11 +00:00
misc dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
net net/rndis: Packet types are defined by NDIS; not RNDIS specific. 2016-08-30 03:11:07 +00:00
quirk USB: Add Garmin FR230 device quirk (broken INQUIRY) 2016-06-29 06:42:20 +00:00
serial With clang 3.9.0, compiling uplcom results in the following warnings: 2016-09-04 16:59:35 +00:00
storage dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
template Fix MTP description in the comment. 2016-07-29 11:33:01 +00:00
video Add new USB ID to UDL driver. 2016-03-30 10:05:52 +00:00
wlan [run] fix TSF locking in RX radiotap. 2016-06-04 07:18:39 +00:00
ufm_ioctl.h
uftdiio.h Return the current ftdi bitbang mode with the UFTDIIOC_GET_BITMODE ioctl. 2015-08-06 19:47:04 +00:00
uled_ioctl.h
usb.h Add definition of the ISOCHRONOUS endpoint usage bits. 2015-03-25 13:32:27 +00:00
usb_bus.h Improve the realtime properties of USB transfers for embedded systems 2015-08-14 12:57:53 +00:00
usb_busdma.c sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
usb_busdma.h Add helper function to check if a USB page cache buffer is properly 2015-11-07 11:40:35 +00:00
usb_cdc.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_controller.h
usb_core.c Remove no longer used allocation type. 2015-03-17 11:07:59 +00:00
usb_core.h Section 3.2.9 in the XHCI specification about control transfers says 2015-02-02 11:06:41 +00:00
usb_debug.c
usb_debug.h
usb_dev.c Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dev.h
usb_device.c Improve error message. 2016-07-29 11:33:23 +00:00
usb_device.h Check for signals when locking the USB enumeration thread from 2016-05-25 07:48:36 +00:00
usb_dynamic.c Finish process of moving the LinuxKPI module into the default kernel build. 2015-10-29 08:28:39 +00:00
usb_dynamic.h Finish process of moving the LinuxKPI module into the default kernel build. 2015-10-29 08:28:39 +00:00
usb_endian.h
usb_error.c
usb_freebsd.h Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_freebsd_loader.h Increase the maximum number of dynamic USB quirks. USB memory stick 2015-01-12 06:34:23 +00:00
usb_generic.c Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular 2015-01-20 11:43:16 +00:00
usb_generic.h
usb_handle_request.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hid.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_hub.h
usb_if.m
usb_ioctl.h Add USB MIDI template for USB device side mode. 2015-06-01 11:24:34 +00:00
usb_lookup.c Update metadata for "tools/tools/bus_autoconf" after r292080. Use 2015-12-29 11:53:13 +00:00
usb_mbuf.c
usb_mbuf.h
usb_msctest.c Revert r290327. The compiler warnings seems to be specific to clang v3.5 only. 2015-11-03 09:38:39 +00:00
usb_msctest.h Add support for DYMO LabelWriter PnP. 2015-05-07 12:54:27 +00:00
usb_parse.c
usb_pci.h
usb_pf.c Fix race in USB PF which can happen if we stop tracing exactly when 2015-08-15 09:00:36 +00:00
usb_pf.h
usb_process.c
usb_process.h Improve the realtime properties of USB transfers for embedded systems 2015-08-14 12:57:53 +00:00
usb_request.c Make a bunch of USB debug SYSCTLs tunable, so that their value(s) can 2015-01-05 15:04:17 +00:00
usb_request.h
usb_transfer.c dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usbdevs Add Logitech Unifying receiver. 2016-08-06 20:27:12 +00:00
usbdi.h dev/usb: minor spelling fixes in comments. 2016-05-02 17:44:03 +00:00
usbdi_util.h
usbhid.h