diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-03-31 16:53:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-04 21:31:34 -0400 |
commit | 2e7bd5ef98030999eaf4bf101707e595432fc8c2 (patch) | |
tree | 1c7b7049decca2d1be1dc2b21c84ada17d329c4e /crypto/cts.c | |
parent | 9ef280c6c28f0c01aa9d909263ad47c796713a8e (diff) | |
download | linux-2e7bd5ef98030999eaf4bf101707e595432fc8c2.tar.gz linux-2e7bd5ef98030999eaf4bf101707e595432fc8c2.tar.bz2 linux-2e7bd5ef98030999eaf4bf101707e595432fc8c2.zip |
net: dsa: mv88e6xxx: protect SID register access
Introduce a mv88e6xxx_has_stu() helper to protect the access to the
GLOBAL_VTU_SID register, instead of checking switch families.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions