suspected null-pointer-reference problem for parent_mc_dev

From: YE Chengfeng
Date: Mon Oct 25 2021 - 10:59:51 EST


Hi,

https://github.com/torvalds/linux/blob/master/drivers/bus/fsl-mc/fsl-mc-bus.c#L871

Our experimental static analysis tool detect a null-ptr-reference problem. It could be false positive, we report this to you just in case.

The pointer could be assigned null at line 796, and later could be dereferenced at line 871. We are not sure whether this is a feasible path, could you spare some time to have a look at it?

Thanks so much,
Chengfeng