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 09:11:45 -0400 |
commit | 627a0d20fa7b9e05ea4f42f47ea84d450dbbc96f (patch) | |
tree | 276cf099969dd7bc85f86ebaeeeff93cccd1a48a /Documentation | |
parent | 77cb065fde0a179f252caabfad5466cf9c522572 (diff) | |
download | talos-obmc-linux-627a0d20fa7b9e05ea4f42f47ea84d450dbbc96f.tar.gz talos-obmc-linux-627a0d20fa7b9e05ea4f42f47ea84d450dbbc96f.zip |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions