Re: [PATCH] net: fec: Refactor MAC reset to function
From: Csókás Bence
Date: Tue Jan 21 2025 - 10:52:08 EST
Hi all,
On 2025. 01. 21. 16:19, Simon Horman wrote:
It seems that this does not compile because val is not declared in this scope.
Ohh, shoot, I forgot a `-a` in `git commit --amend`... Rookie mistake;
will be fixed.
Please observe the rule regarding not posting updated patches within 24h
when preparing v2.
Of course.
On 2025. 01. 21. 15:36, Ahmad Fatoum wrote:
> please make the lines a bit longer for v2. 43 characters is much too
limited.
Reformatted to 80 cols.
On 2025. 01. 21. 15:10, Michal Swiatkowski wrote:
>> - } else {
>> - writel(1, fep->hwp + FEC_ECNTRL);
> Nit, in case of a need for v2 you can mark in commit message that
> FEC_ECR_RESET == 1, so define can be use instead of 1.
This was somehow missed from my earlier refactor in commit ff049886671c
("net: fec: Refactor: #define magic constants"). Adding this to the msg.
Bence