Skip to content
Commit d3005fbc authored by Denis Kirjanov's avatar Denis Kirjanov Committed by Benjamin Herrenschmidt
Browse files

powerpc/iseries: Fix possible null pointer dereference in iSeries_pcibios_fixup_resources



I don't know if this is a right fix for the problem
since of_get_property can return NULL.
Since iseries_device_information is used only for informational purpose,
we can skip this function without valid HvSubBusNumber number.

Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 33ad5e4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment