From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org,
Larry Finger <Larry.Finger@lwfinger.net>
Subject: Re: [patch] staging: rtl8723au: incorrect use of ether_addr_copy()
Date: Wed, 08 Oct 2014 14:32:37 +0000 [thread overview]
Message-ID: <wrfjr3yiy6m2.fsf@redhat.com> (raw)
In-Reply-To: <20141008142451.GE26918@mwanda> (Dan Carpenter's message of "Wed, 8 Oct 2014 17:24:51 +0300")
Dan Carpenter <dan.carpenter@oracle.com> writes:
> On Wed, Oct 08, 2014 at 03:59:33PM +0200, Jes Sorensen wrote:
>> Dan Carpenter <dan.carpenter@oracle.com> writes:
>> > The return from myid() isn't aligned correctly for ether_addr_copy().
>> >
>> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>>
>> Sorry, this makes no sense, just fix it properly!
>>
>> drivers/staging/rtl8723au/include/rtw_eeprom.h:
>>
>> struct eeprom_priv {
>> u8 bautoload_fail_flag;
>> u8 bloadfile_fail_flag;
>> u8 bloadmac_fail_flag;
>> /* u8 bempty; */
>> /* u8 sys_config; */
>> u8 mac_addr[6]; /* PermanentAddress */
>> /* u8 config0; */
>>
>> Move mac_addr[6] to the top of the struct and be done with it.
>>
>> NACK
>
> Oops. I thought it was something from the hardware. Actually can you
> fix it and give me a reported-by tag?
That stuff is just copied into memory from the eeprom, so we can pretty
much do with it as we like.
I'll put it on my list.
Jes
WARNING: multiple messages have this Message-ID (diff)
From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org,
Larry Finger <Larry.Finger@lwfinger.net>
Subject: Re: [patch] staging: rtl8723au: incorrect use of ether_addr_copy()
Date: Wed, 08 Oct 2014 16:32:37 +0200 [thread overview]
Message-ID: <wrfjr3yiy6m2.fsf@redhat.com> (raw)
In-Reply-To: <20141008142451.GE26918@mwanda> (Dan Carpenter's message of "Wed, 8 Oct 2014 17:24:51 +0300")
Dan Carpenter <dan.carpenter@oracle.com> writes:
> On Wed, Oct 08, 2014 at 03:59:33PM +0200, Jes Sorensen wrote:
>> Dan Carpenter <dan.carpenter@oracle.com> writes:
>> > The return from myid() isn't aligned correctly for ether_addr_copy().
>> >
>> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>>
>> Sorry, this makes no sense, just fix it properly!
>>
>> drivers/staging/rtl8723au/include/rtw_eeprom.h:
>>
>> struct eeprom_priv {
>> u8 bautoload_fail_flag;
>> u8 bloadfile_fail_flag;
>> u8 bloadmac_fail_flag;
>> /* u8 bempty; */
>> /* u8 sys_config; */
>> u8 mac_addr[6]; /* PermanentAddress */
>> /* u8 config0; */
>>
>> Move mac_addr[6] to the top of the struct and be done with it.
>>
>> NACK
>
> Oops. I thought it was something from the hardware. Actually can you
> fix it and give me a reported-by tag?
That stuff is just copied into memory from the eeprom, so we can pretty
much do with it as we like.
I'll put it on my list.
Jes
next prev parent reply other threads:[~2014-10-08 14:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 10:40 [patch] staging: rtl8723au: incorrect use of ether_addr_copy() Dan Carpenter
2014-10-08 10:40 ` Dan Carpenter
2014-10-08 12:26 ` Joe Perches
2014-10-08 12:26 ` Joe Perches
2014-10-08 12:46 ` Dan Carpenter
2014-10-08 12:46 ` Dan Carpenter
2014-10-08 12:50 ` Julia Lawall
2014-10-08 12:50 ` Julia Lawall
2014-10-08 13:17 ` Dan Carpenter
2014-10-08 13:17 ` Dan Carpenter
2014-10-08 14:22 ` Joe Perches
2014-10-08 14:22 ` Joe Perches
2014-10-08 14:33 ` Jes Sorensen
2014-10-08 14:33 ` Jes Sorensen
2014-10-08 14:51 ` Joe Perches
2014-10-08 14:51 ` Joe Perches
2014-10-08 15:09 ` Jes Sorensen
2014-10-08 15:09 ` Jes Sorensen
2014-10-08 13:59 ` Jes Sorensen
2014-10-08 13:59 ` Jes Sorensen
2014-10-08 14:24 ` Dan Carpenter
2014-10-08 14:24 ` Dan Carpenter
2014-10-08 14:32 ` Jes Sorensen [this message]
2014-10-08 14:32 ` Jes Sorensen
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=wrfjr3yiy6m2.fsf@redhat.com \
--to=jes.sorensen@redhat.com \
--cc=Larry.Finger@lwfinger.net \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@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.