Re: [PATCH v2 2/3] net: ftmac100: simplify priv->iobase casting

2023-02-03 Thread Sergei Antonov
On Fri, 3 Feb 2023 at 01:05, Tom Rini wrote: > > On Thu, Jan 19, 2023 at 10:51:15PM +0300, Sergei Antonov wrote: > > > Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' > > in order to cast once on assignment and remove casting in a > > number of other places. > > > > Signed-off-by:

Re: [PATCH v2 2/3] net: ftmac100: simplify priv->iobase casting

2023-02-02 Thread Tom Rini
On Thu, Jan 19, 2023 at 10:51:15PM +0300, Sergei Antonov wrote: > Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' > in order to cast once on assignment and remove casting in a > number of other places. > > Signed-off-by: Sergei Antonov > Reviewed-by: Ramon Fried This introduces:

[PATCH v2 2/3] net: ftmac100: simplify priv->iobase casting

2023-01-19 Thread Sergei Antonov
Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in order to cast once on assignment and remove casting in a number of other places. Signed-off-by: Sergei Antonov Reviewed-by: Ramon Fried --- v1 -> v2: no change drivers/net/ftmac100.c | 14 +++--- 1 file changed, 7