Dear Michal Simek,
In message <1314696613-31095-1-git-send-email-mon...@monstr.eu> you wrote:
> If name is longer than allocated space NAMESIZE
> mac address is rewritten which show error
> message like:
>
> Error message:
> Warning: Xlltemac.8700 MAC addresses don't match:
> Address in SROM
Mike Frysinger wrote:
> On Tuesday, August 30, 2011 05:30:13 Michal Simek wrote:
>> --- a/net/eth.c
>> +++ b/net/eth.c
>> @@ -224,6 +224,14 @@ int eth_write_hwaddr(struct eth_device *dev, const
>> char *base_name, int eth_register(struct eth_device *dev)
>> {
>> struct eth_device *d;
>> +
>>
On Tuesday, August 30, 2011 05:30:13 Michal Simek wrote:
> --- a/net/eth.c
> +++ b/net/eth.c
> @@ -224,6 +224,14 @@ int eth_write_hwaddr(struct eth_device *dev, const
> char *base_name, int eth_register(struct eth_device *dev)
> {
> struct eth_device *d;
> +
> + size_t len = strlen(dev->
If name is longer than allocated space NAMESIZE
mac address is rewritten which show error
message like:
Error message:
Warning: Xlltemac.8700 MAC addresses don't match:
Address in SROM is 30:00:00:00:00:00
Address in environment is 00:0a:35:00:6a:04
NAMESIZE contains Driver name + ze
4 matches
Mail list logo