diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2015-02-26 20:34:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 15:40:54 -0500 |
commit | 3365711df024f60d2e1e0ba9b40b6e965ab83bf6 (patch) | |
tree | e0d9b2b4a420e20cc02f0465b3d11b0e88cf2c6b /net/switchdev/switchdev.c | |
parent | 25b77ad774a88cd7a9a8f63e122d4bda68479267 (diff) |
sh_eth: WARN on access to a register not implemented in a particular chip
Currently we may silently read/write a register at offset 0. Change
this to WARN and then ignore the write or read-back all-ones.
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions