summaryrefslogtreecommitdiffstats
path: root/drivers/edac/xgene_edac.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-02-02 10:59:53 +0100
committerBorislav Petkov <bp@suse.de>2016-02-02 11:04:29 +0100
commit096676061987c613bdacddbae838cb63a815db94 (patch)
tree9a73f90b19376faf2e9c5a55a038000d6ac25594 /drivers/edac/xgene_edac.c
parentf5793c970888e48542de4ae152d16308873f29e4 (diff)
downloadblackbird-op-linux-096676061987c613bdacddbae838cb63a815db94.tar.gz
blackbird-op-linux-096676061987c613bdacddbae838cb63a815db94.zip
EDAC: Balance workqueue setup and teardown
We use the ->edac_check function pointers to determine whether we need to setup a polling workqueue. However, the destroy path is not balanced and we might try to teardown an unitialized workqueue. Balance init and destroy paths by looking at ->edac_check in both cases. Set op_state to OP_OFFLINE *before* destroying anything. Reported-by: Zhiqiang Hou <Zhiqiang.Hou@freescale.com> Cc: Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/xgene_edac.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud