diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2022-11-18 09:07:43 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-31 13:32:52 +0100 |
commit | 0ab849944365096bece42d0c8f0f6e6e72440ef9 (patch) | |
tree | 551e614b47ccfffee316b7e1fecd3e3551280dd2 /Documentation/devicetree | |
parent | bce7d8e9596d87cde7ad26df48f2a606739f9af4 (diff) | |
download | linux-0ab849944365096bece42d0c8f0f6e6e72440ef9.tar.gz |
powerpc/pseries/eeh: use correct API for error log size
[ Upstream commit 9aafbfa5f57a4b75bafd3bed0191e8429c5fa618 ] rtas-error-log-max is not the name of an RTAS function, so rtas_token() is not the appropriate API for retrieving its value. We already have rtas_get_error_log_max() which returns a sensible value if the property is absent for any reason, so use that instead. Fixes: 8d633291b4fc ("powerpc/eeh: pseries platform EEH error log retrieval") Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> [mpe: Drop no-longer possible error handling as noticed by ajd] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20221118150751.469393-6-nathanl@linux.ibm.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions