Re: [PATCH net-next] staging: use of_get_ethdev_address()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 26, 2021 at 10:50:38AM -0700, Jakub Kicinski wrote:
> Use the new of_get_ethdev_address() helper for the cases
> where dev->dev_addr is passed in directly as the destination.
> 
>   @@
>   expression dev, np;
>   @@
>   - of_get_mac_address(np, dev->dev_addr)
>   + of_get_ethdev_address(np, dev)
> 
> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> ---
> Hi Greg, this needs to go to net-next, the helper is new.
> ---
>  drivers/staging/octeon/ethernet.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux