Module Name: src Committed By: skrll Date: Sat Apr 30 14:56:20 UTC 2016
Modified Files: src/sys/dev/usb: xhci.c Log Message: Fix type of return value in xhci_do_command To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/usb/xhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/xhci.c diff -u src/sys/dev/usb/xhci.c:1.37 src/sys/dev/usb/xhci.c:1.38 --- src/sys/dev/usb/xhci.c:1.37 Sat Apr 30 14:53:06 2016 +++ src/sys/dev/usb/xhci.c Sat Apr 30 14:56:20 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: xhci.c,v 1.37 2016/04/30 14:53:06 skrll Exp $ */ +/* $NetBSD: xhci.c,v 1.38 2016/04/30 14:56:20 skrll Exp $ */ /* * Copyright (c) 2013 Jonathan A. Kollasch @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.37 2016/04/30 14:53:06 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.38 2016/04/30 14:56:20 skrll Exp $"); #include "opt_usb.h" @@ -2603,7 +2603,7 @@ xhci_do_command(struct xhci_softc * cons { mutex_enter(&sc->sc_lock); - int ret = xhci_do_command_locked(sc, trb, timeout); + usbd_status ret = xhci_do_command_locked(sc, trb, timeout); mutex_exit(&sc->sc_lock); return ret;