summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/musb_am335x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/musb_am335x.c')
0 files changed, 0 insertions, 0 deletions
git/diff/?h=nds-private-remove&id=f05fea5b3574a5926c53865eea27139bb40b2f2b&id2=af2b7fa17eb92e52b65f96604448ff7a2a89ee99'>diff)
powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
In __eeh_clear_pe_frozen_state(), we should pass the flag's value instead of its address to eeh_unfreeze_pe(). The isolated flag is cleared if no error returned from __eeh_clear_pe_frozen_state(). We never observed the error from the function. So the isolated flag should have been always cleared, no real issue is caused because of the misused @flag. This fixes the code by passing the value of @flag to eeh_unfreeze_pe(). Fixes: 5cfb20b96f6 ("powerpc/eeh: Emulate EEH recovery for VFIO devices") Cc: stable@vger.kernel.org # v3.18+ Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat