Re: [PATCH net-next v3 07/12] net: stmmac: Remove some unnecessary void pointers

From: Simon Horman
Date: Sat Apr 01 2023 - 10:49:56 EST


On Fri, Mar 31, 2023 at 04:45:44PM -0500, Andrew Halaney wrote:
> There's a few spots in the hardware interface where a void pointer is
> used, but what's passed in and later cast out is always the same type.
>
> Just use the proper type directly.
>
> Signed-off-by: Andrew Halaney <ahalaney@xxxxxxxxxx>
> ---
>
> Changes since v2:
> * New patch. In later patches refactoring hwif.h I touched these in
> their first form (which was later dropped) and changed this as
> part of that. But I thought the change was still good overall,
> so I left this improvement in the series.

FWIIW, I am very pleased to see this kind of change.

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>