mbox series

[0/2] sh_eth: remove SH_ETH_OFFSET_INVALID abuses

Message ID 998029b4-9400-ebc3-51c1-623c3f72b6cc@cogentembedded.com
Headers show
Series sh_eth: remove SH_ETH_OFFSET_INVALID abuses | expand

Message

Sergei Shtylyov March 31, 2018, 9:15 p.m. UTC
Hello!

Here's a set of 2 patches against DaveM's 'net-next.git' repo. They get rid of
the abuse of SH_ETH_OFFSET_INVALID for the register existence checks, so that
only its necessary uses would remain...

[1/2] sh_eth: add sh_eth_cpu_data::no_xdfar flag
[2/2] sh_eth: kill useless check in __sh_eth_get_regs()

MBR, Sergei

Comments

David Miller April 1, 2018, 6:10 p.m. UTC | #1
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Sun, 1 Apr 2018 00:15:04 +0300

> Hello!
> 
> Here's a set of 2 patches against DaveM's 'net-next.git' repo. They get rid of
> the abuse of SH_ETH_OFFSET_INVALID for the register existence checks, so that
> only its necessary uses would remain...
> 
> [1/2] sh_eth: add sh_eth_cpu_data::no_xdfar flag
> [2/2] sh_eth: kill useless check in __sh_eth_get_regs()

Series applied, thank you.