Re: [PATCH] irqchip/mbigen: Fix incorrect null pointer check

From: Thomas Gleixner
Date: Tue Feb 13 2024 - 05:09:37 EST


On Mon, Jan 29 2024 at 21:00, Chen Jun wrote:

That's not about an incorrect NULL pointer check. That's about using a
function which is guaranteed to return NULL on your platform, no?

> bus_get_dev_root(&platform_bus_type) always returns NULL.

Lacks an explanation why this always returns NULL.

Thanks

tglx