Re: [PATCH] powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()

2017-01-18 Thread Gavin Shan
On Wed, Jan 18, 2017 at 04:49:58PM +1100, Michael Ellerman wrote: >Gavin Shan writes: > >> In __eeh_clear_pe_frozen_state(), we should pass the flag's value >> instead of its address to eeh_unfreeze_pe(). This doesn't introduce >> any problems, but the code is just

Re: [PATCH] powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()

2017-01-17 Thread Michael Ellerman
Gavin Shan writes: > In __eeh_clear_pe_frozen_state(), we should pass the flag's value > instead of its address to eeh_unfreeze_pe(). This doesn't introduce > any problems, but the code is just wrong. It means any caller that passes false, will be getting the wrong

[PATCH] powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()

2017-01-10 Thread Gavin Shan
In __eeh_clear_pe_frozen_state(), we should pass the flag's value instead of its address to eeh_unfreeze_pe(). This doesn't introduce any problems, but the code is just wrong. This fixes the code by passing flag's value to eeh_unfreeze_pe(). Cc: sta...@vger.kernel.org #3.18+ Fixes: 5cfb20b96f6