Re: [PATCH v2] misc: cb710: Replace deprecated PCI functions

From: Madhur Kumar

Date: Tue Nov 11 2025 - 10:59:43 EST


On Tue, 11 Nov 2025 16:21:30 +0100, Philipp Stanner wrote:
>Nope, this is wrong. pcim_iomap_region() returns an ERR_PTR on error,
>not NULL. You need to check it with IS_ERR or similar.

>Sry, late to the party, but just saw this. It was applied already, so
>someone should send a fix. I could, but maybe Madhur can do it faster
>since he's got the branch etc already.

Thank you for pointing it out but the issue if already been fixed by
Dan Carpenter
https://lore.kernel.org/all/aQITFDPyuzjNN4GN@stanley.mountain/

--
Madhur Kumar