Re: [PATCH next] misc: cb710: Fix a NULL vs IS_ERR() check in probe()
From: Arnd Bergmann
Date: Wed Oct 29 2025 - 09:35:10 EST
On Wed, Oct 29, 2025, at 14:13, Dan Carpenter wrote:
> The pcim_iomap_region() function never returns NULL, it returns error
> pointers. Update the checking to match.
>
> Fixes: b91c13534a63 ("misc: cb710: Replace deprecated PCI functions")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>