commit | 0d2b5255ea7b69f2270e41130ee25346b1f68b7b | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed May 23 11:38:29 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed May 23 16:33:00 2018 -0400 |
tree | 18a13e3b874b9c87b53306216fe4afc1234d2c1f | |
parent | b93c3ab6006b379f2df238693b6e131cba9b37b3 [diff] |
amd-xgbe: Remove use of comm_owned field The comm_owned field can hide logic where double locking is attempted and prevent multiple threads for the same device from accessing the mutex properly. Remove the comm_owned field and use the mutex API exclusively for gaining ownership. The current driver has been audited and is obtaining communications ownership properly. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>