commit | 10c4bd7cd28e77aeb8cfa65b23cb3c632ede2a49 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Jul 24 18:46:36 2019 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Aug 20 21:22:20 2019 +1000 |
tree | 2d4ed2354a3984f1f308573b84190873aeb40109 | |
parent | 31f210cf42d4b308eacef89b6cb0b1459338b8de [diff] |
powerpc/perf: fix imc allocation failure handling The alloc_pages_node return value should be tested for failure before being passed to page_address. Tested-by: Anju T Sudhakar <anju@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190724084638.24982-3-npiggin@gmail.com