diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-05-02 22:55:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-04 16:11:45 +0300 |
commit | 627a0d20fa7b9e05ea4f42f47ea84d450dbbc96f (patch) | |
tree | 276cf099969dd7bc85f86ebaeeeff93cccd1a48a /net/unix/garbage.c | |
parent | 77cb065fde0a179f252caabfad5466cf9c522572 (diff) | |
download | linux-627a0d20fa7b9e05ea4f42f47ea84d450dbbc96f.tar.xz |
sh_eth: WARN_ON() access to unimplemented TSU register
Commit 3365711df024 ("sh_eth: WARN on access to a register not implemented
in a particular chip") added WARN_ON() to sh_eth_{read|write}() but not
to sh_eth_tsu_{read|write}(). Now that we've routed almost all TSU register
accesses (except TSU_ADR{H|L}<n> -- which are special) thru the latter
pair of accessors, it makes sense to check for the unimplemented TSU
registers as well...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions