From dc6d2a0f9782cf323acfddb6d98f5dbacc9cd4e3 Mon Sep 17 00:00:00 2001 From: Alexey Khoroshilov Date: Fri, 18 Apr 2014 00:58:42 -0700 Subject: [PATCH] bfa: allocate memory with GFP_ATOMIC in spinlock context bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(), that is called only from bfad_drv_start() with bfad_lock spinlock held. So the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid sleeping in atomic spinlock context. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Anil Gurumurthy Signed-off-by: Christoph Hellwig --- Reading git-format-patch failed