All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Wei Shuai <cpuwolf@gmail.com>
Cc: gregkh@linuxfoundation.org, alexey.orishko@stericsson.com,
	hans.petter.selasky@stericsson.com, linux-usb@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] CDC_NCM adding support IFF_NOARP for buggy device
Date: Thu, 10 Jan 2013 20:18:35 +0300	[thread overview]
Message-ID: <50EEF7EB.4030503@mvista.com> (raw)
In-Reply-To: <1357826368-30543-1-git-send-email-cpuwolf@gmail.com>

Hello.

On 01/10/2013 04:59 PM, Wei Shuai wrote:

> Signed-off-by: Wei Shuai <cpuwolf@gmail.com>
> ---
>  drivers/net/usb/cdc_ncm.c |   15 +++++++++++++++
>  1 files changed, 15 insertions(+), 0 deletions(-)

> diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
> index 71b6e92..9903f79 100644
> --- a/drivers/net/usb/cdc_ncm.c
> +++ b/drivers/net/usb/cdc_ncm.c
[...]
> @@ -572,6 +573,10 @@ static int cdc_ncm_bind(struct usbnet *dev, struct usb_interface *intf)
>  	    cdc_ncm_comm_intf_is_mbim(intf->cur_altsetting))
>  		return -ENODEV;
>  #endif
> +	/*  this buggy device cannot do ARP */
> +	if( (le16_to_cpu(udev->descriptor.idVendor) == 0xAAAA) ) {

   Please run the patch thru scripts/checkpatch.pl and resubmit.

WBR, Sergei

      parent reply	other threads:[~2013-01-10 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 13:59 [PATCH] CDC_NCM adding support IFF_NOARP for buggy device Wei Shuai
2013-01-10 14:10 ` Oliver Neukum
2013-01-10 17:18 ` Sergei Shtylyov [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=50EEF7EB.4030503@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=alexey.orishko@stericsson.com \
    --cc=cpuwolf@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hans.petter.selasky@stericsson.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.