Re: [PATCH 2/3] net: ethernet: bgmac: unify code of the same family

From: Jon Mason
Date: Fri Feb 03 2017 - 17:35:57 EST


On Fri, Feb 3, 2017 at 4:48 PM, RafaÅ MiÅecki <rafal@xxxxxxxxxx> wrote:
> On 2017-02-03 22:39, Jon Mason wrote:
>>
>> BCM471X and BCM535X are of the same family (from what I can derive from
>> internal documents). Group them into the case statement together, which
>> results in more code reuse.
>>
>> Also, use existing helper variables to make the code a little more
>> readable too.
>>
>> Signed-off-by: Jon Mason <jon.mason@xxxxxxxxxxxx>
>
>
> I'd like to review it / test it on few devices. Please give me weekend for
> that.

Yes, please test this as much as you can. The code move was pretty
innocuous, and those are always the times when it comes back to bite
me.

Thanks,
Jon