commit | 97b715b62e5b4c6edb75d023f556fd09a46cb4e1 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Sat May 26 09:45:59 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jul 07 17:35:00 2018 +0200 |
tree | 3187a16d1be129d085e84025db20841edcc2f814 | |
parent | 5faecb0162883df2b06965c7e6dd7c42278f7e0d [diff] |
misc: ibmvmc: Use GFP_ATOMIC under spin lock The function alloc_dma_buffer() is called from ibmvmc_add_buffer(), in which a spin lock be held here, so we should use GFP_ATOMIC when a lock is held. Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>