drivers/net/ethernet/intel/e1000e/82571.c:995:4: warning: releasing mutex 'swflag_mutex' that was not held [-Wthread-safety-analysis]
e1000_put_hw_semaphore_82574(hw);
^
The mutex is only locked and unlocked for the hw->mac.type == e1000_82574 and hw->mac.type == e1000_82583 case.
The mutex is only locked and unlocked for the
hw->mac.type == e1000_82574
andhw->mac.type == e1000_82583
case.