public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuah.kh@samsung.com>
To: gregkh@linuxfoundation.org, ly80toro@cip.cs.fau.de
Cc: Shuah Khan <shuah.kh@samsung.com>,
	linux-usb@vger.kernel.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org, shuahkhan@gmail.com,
	Shuah Khan <shuah.kh@samsung.com>,
	"thomas.pugliese@gmail.com >> Thomas Pugliese" 
	<thomas.pugliese@gmail.com>
Subject: Re: [PATCH] staging/usbip: Change userspace to use linux include for usb_device_speed enum
Date: Fri, 24 Jan 2014 10:52:46 -0700	[thread overview]
Message-ID: <52E2A86E.1000804@samsung.com> (raw)
In-Reply-To: <1390413372-3451-1-git-send-email-shuah.kh@samsung.com>

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@samsung.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@samsung.com | (970) 672-0658

      reply	other threads:[~2014-01-24 17:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 17:56 [PATCH] staging/usbip: Change userspace to use linux include for usb_device_speed enum Shuah Khan
2014-01-24 17:52 ` Shuah Khan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E2A86E.1000804@samsung.com \
    --to=shuah.kh@samsung.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ly80toro@cip.cs.fau.de \
    --cc=shuahkhan@gmail.com \
    --cc=thomas.pugliese@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox