Re: [PATCH] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context
From: Martin K. Petersen
Date: Wed Mar 02 2022 - 00:13:53 EST
On Tue, 15 Feb 2022 07:32:34 +0100, Christophe JAILLET wrote:
> Just a few lines below this kzalloc() we have a mutex_lock() which can
> sleep.
>
> More over, the only way to call this function is when a delayed work is
> schedule. And delayed work can sleep.
> INIT_DELAYED_WORK(&fw_event->work, mptsas_firmware_event_work);
> --> mptsas_firmware_event_work()
> --> mptsas_send_link_status_event()
> --> mptsas_expander_add()
>
> [...]
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context
https://git.kernel.org/mkp/scsi/c/e3af2e3b0019
--
Martin K. Petersen Oracle Linux Engineering