public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
To: Ken Kawasaki <ken_kawasaki@nifty•com>, netdev@vger•kernel.org
Subject: Re: [PATCH]fmvj18x_cs: The MAC address of FMV-J182 is stored at buf[5].
Date: Fri, 19 Feb 2016 15:52:33 +0300	[thread overview]
Message-ID: <56C71011.2020509@cogentembedded.com> (raw)
In-Reply-To: <20160219213835.c16a60105e0342ff64b7b8aa@nifty.com>

Hello.

On 2/19/2016 3:38 PM, Ken Kawasaki wrote:

> The MAC address of FMV-J182 is stored at buf[5].
>
> Signed-off-by: Ken Kawasaki <ken_kawasaki@nifty•com>
>
> ---
>
> --- linux-4.4.1/drivers/net/ethernet/fujitsu/fmvj18x_cs.c.orig	2016-02-19 20:48:40.143852346 +0900
> +++ linux-4.4.1/drivers/net/ethernet/fujitsu/fmvj18x_cs.c	2016-02-19 20:54:52.345568822 +0900
> @@ -469,8 +469,8 @@ static int fmvj18x_config(struct pcmcia_
>   		    goto failed;
>   	    }
>   	    /* Read MACID from CIS */
> -	    for (i = 5; i < 11; i++)
> -		    dev->dev_addr[i] = buf[i];
> +	    for (i = 0; i < 6; i++)
> +		    dev->dev_addr[i] = buf[i+5];

    Be consistent please, surround + with spaces.

[...]

MBR, Sergei

  reply	other threads:[~2016-02-19 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 12:38 [PATCH]fmvj18x_cs: The MAC address of FMV-J182 is stored at buf[5] Ken Kawasaki
2016-02-19 12:52 ` Sergei Shtylyov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-20  1:57 [PATCH] fmvj18x_cs: " Ken Kawasaki
2016-02-20  3:10 ` David Miller

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=56C71011.2020509@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded$(echo .)com \
    --cc=ken_kawasaki@nifty$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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