Skip to content
Commit 20acebdf authored by Brian W Hart's avatar Brian W Hart Committed by Benjamin Herrenschmidt
Browse files

powernv/eeh: Fix possible buffer overrun in ioda_eeh_phb_diag()



PHB diagnostic buffer may be smaller than PAGE_SIZE, especially when
PAGE_SIZE > 4KB.

Signed-off-by: default avatarBrian W Hart <hartb@linux.vnet.ibm.com>
Acked-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 20151169
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment