diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-01-25 07:55:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 04:41:56 (GMT) |
commit | 12a583ddf02a976080f36f75139a9167a9975e68 (patch) | |
tree | d91fb34903512d71ca8bc2a782c17caf7aa9d0bd /drivers/hwmon/adm1025.c | |
parent | 66deb409251c6e88de9cdffc5a952670fe544410 (diff) | |
download | linux-12a583ddf02a976080f36f75139a9167a9975e68.tar.xz |
bnxt_en: Fix RTNL lock usage on bnxt_get_port_module_status().
[ Upstream commit 90c694bb71819fb5bd3501ac397307d7e41ddeca ]
bnxt_get_port_module_status() calls bnxt_update_link() which expects
RTNL to be held. In bnxt_sp_task() that does not hold RTNL, we need to
call it with a prior call to bnxt_rtnl_lock_sp() and the call needs to
be moved to the end of bnxt_sp_task().
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/adm1025.c')
0 files changed, 0 insertions, 0 deletions