Re: [PATCH] scsi: qla2xxx: Check return value of alloc_workqueue()

From: Daniel Wagner
Date: Mon Oct 28 2019 - 05:03:41 EST


On Mon, Oct 28, 2019 at 09:47:09AM +0100, Daniel Wagner wrote:
> Do not derefence the pointer without checking it
> first. alloc_workqueue() can return a NULL pointer.

Oh forget it. Someone was faster :)