lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <52E2A86E.1000804@samsung.com>
Date:	Fri, 24 Jan 2014 10:52:46 -0700
From:	Shuah Khan <shuah.kh@...sung.com>
To:	gregkh@...uxfoundation.org, ly80toro@....cs.fau.de
Cc:	Shuah Khan <shuah.kh@...sung.com>, linux-usb@...r.kernel.org,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	shuahkhan@...il.com, Shuah Khan <shuah.kh@...sung.com>,
	"thomas.pugliese@...il.com >> Thomas Pugliese" 
	<thomas.pugliese@...il.com>
Subject: Re: [PATCH] staging/usbip: Change userspace to use linux include for
 usb_device_speed enum

On 01/22/2014 10:56 AM, Shuah Khan wrote:
> Remove usb_device_speed enum define from usbip_common.h and change it to
> include linux/usb/ch9.h instead.
>
> Signed-off-by: Shuah Khan <shuah.kh@...sung.com>
> ---
>   drivers/staging/usbip/userspace/libsrc/usbip_common.h | 8 +-------
>   1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/drivers/staging/usbip/userspace/libsrc/usbip_common.h b/drivers/staging/usbip/userspace/libsrc/usbip_common.h
> index 938ad1c..2cb81b3 100644
> --- a/drivers/staging/usbip/userspace/libsrc/usbip_common.h
> +++ b/drivers/staging/usbip/userspace/libsrc/usbip_common.h
> @@ -14,6 +14,7 @@
>
>   #include <syslog.h>
>   #include <unistd.h>
> +#include <linux/usb/ch9.h>
>
>   #ifndef USBIDS_FILE
>   #define USBIDS_FILE "/usr/share/hwdata/usb.ids"
> @@ -76,13 +77,6 @@ extern int usbip_use_debug ;
>   		abort();				\
>   	} while (0)
>
> -enum usb_device_speed {
> -	USB_SPEED_UNKNOWN = 0,                  /* enumerating */
> -	USB_SPEED_LOW, USB_SPEED_FULL,          /* usb 1.1 */
> -	USB_SPEED_HIGH,                         /* usb 2.0 */
> -	USB_SPEED_VARIABLE                      /* wireless (usb 2.5) */
> -};
> -
>   /* FIXME: how to sync with drivers/usbip_common.h ? */
>   enum usbip_device_status {
>   	/* sdev is available. */
>

I just realized the following two userspace patches should be combined 
or sent as a series. I will send them together addressing Thomas 
Pugliese's review comments.

https://lkml.org/lkml/2014/1/22/336
https://lkml.org/lkml/2014/1/22/420

-- Shuah

-- 
Shuah Khan
Senior Linux Kernel Developer - Open Source Group
Samsung Research America(Silicon Valley)
shuah.kh@...sung.com | (970) 672-0658
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ