mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-20 19:43:58 +08:00
scsi: qedi: Use GFP_NOIO for TMF allocation
We run from a workqueue with no locks held so use GFP_NOIO. Link: https://lore.kernel.org/r/20210525181821.7617-24-michael.christie@oracle.com Reviewed-by: Manish Rangankar <mrangankar@marvell.com> Signed-off-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
f7eea75262
commit
140d63b73f
@ -1398,7 +1398,7 @@ static void qedi_abort_work(struct work_struct *work)
|
||||
goto clear_cleanup;
|
||||
}
|
||||
|
||||
list_work = kzalloc(sizeof(*list_work), GFP_ATOMIC);
|
||||
list_work = kzalloc(sizeof(*list_work), GFP_NOIO);
|
||||
if (!list_work) {
|
||||
QEDI_ERR(&qedi->dbg_ctx, "Memory allocation failed\n");
|
||||
goto clear_cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user