Re: [PATCH next] crypto: qat/qat_6xxx - Fix NULL vs IS_ERR() check in adf_probe()

From: Cabiddu, Giovanni
Date: Thu May 08 2025 - 04:19:34 EST


Thanks Dan.

On Thu, May 08, 2025 at 09:26:25AM +0300, Dan Carpenter wrote:
> The pcim_iomap_region() returns error pointers. It doesn't return NULL
> pointers. Update the check to match.
>
> Fixes: 17fd7514ae68 ("crypto: qat - add qat_6xxx driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> ---
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>