Thread (9 messages) flat view 9 messages, 4 authors, 2016-09-25

Re: [PATCH 1/3] powerpc/eeh: Null check uses of eeh_pe_bus_get

From: Andrew Donnellan <hidden>
Date: 2016-09-12 04:39:26

On 12/09/16 14:17, Russell Currey wrote:
eeh_pe_bus_get() can return NULL if a PCI bus isn't found for a given PE.
Some callers don't check this, and can cause a null pointer dereference
under certain circumstances.

Fix this by checking NULL everywhere eeh_pe_bus_get() is called.

Cc: stable #3.10+
Signed-off-by: Russell Currey <redacted>
Looks good to me.

Reviewed-by: Andrew Donnellan <redacted>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan@au1.ibm.com  IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help