Re: [PATCH u-boot-net 02/14] net: mdio-uclass: use ARRAY_SIZE()

2022-03-18 Thread Ramon Fried
On Thu, Mar 17, 2022 at 2:50 PM Marek Behún wrote: > > From: Marek Behún > > Use the ARRAY_SIZE() macro instead of hardcoding sizes of arrays in > macors. macros. > > Signed-off-by: Marek Behún > --- > net/mdio-uclass.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > >

[PATCH u-boot-net 02/14] net: mdio-uclass: use ARRAY_SIZE()

2022-03-17 Thread Marek Behún
From: Marek Behún Use the ARRAY_SIZE() macro instead of hardcoding sizes of arrays in macors. Signed-off-by: Marek Behún --- net/mdio-uclass.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c index 5735afe49e..649dc60f73