> -----Original Message----- > From: Mike Christie <michael.christie@xxxxxxxxxx> > Sent: Sunday, April 11, 2021 12:10 AM > To: lduncan@xxxxxxxx; martin.petersen@xxxxxxxxxx; Manish Rangankar > <mrangankar@xxxxxxxxxxx>; Santosh Vernekar <svernekar@xxxxxxxxxxx>; > linux-scsi@xxxxxxxxxxxxxxx; jejb@xxxxxxxxxxxxx > Cc: Mike Christie <michael.christie@xxxxxxxxxx> > Subject: [EXT] [PATCH 07/13] scsi: qedi: use GFP_NOIO for tmf allocation > > External Email > > ---------------------------------------------------------------------- > We run from a workqueue with no locks held so use GFP_NOIO. > > Signed-off-by: Mike Christie <michael.christie@xxxxxxxxxx> > --- > drivers/scsi/qedi/qedi_fw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qedi/qedi_fw.c b/drivers/scsi/qedi/qedi_fw.c index > 542255c94d96..84402e827d42 100644 > --- a/drivers/scsi/qedi/qedi_fw.c > +++ b/drivers/scsi/qedi/qedi_fw.c > @@ -1396,7 +1396,7 @@ static void qedi_abort_work(struct work_struct > *work) > goto put_task; > } > > - 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 put_task; > -- > 2.25.1 Thanks, Reviewed-by: Manish Rangankar <mrangankar@xxxxxxxxxxx>