[Skiboot] [PATCH 5/5] fsp-elog-write: display error code from FSP on error writing error log
Stewart Smith
stewart at linux.vnet.ibm.com
Fri Jun 24 13:32:56 AEST 2016
Joel Stanley <joel at jms.id.au> writes:
> On Fri, Jun 24, 2016 at 11:06 AM, Stewart Smith
> <stewart at linux.vnet.ibm.com> wrote:
>> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
>> ---
>> hw/fsp/fsp-elog-write.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
>> index cf915a2cb1d7..d4b5237510bc 100644
>> --- a/hw/fsp/fsp-elog-write.c
>> +++ b/hw/fsp/fsp-elog-write.c
>> @@ -97,7 +97,7 @@ static void opal_fsp_write_complete(struct fsp_msg *read_msg)
>> default:
>> if (elog_write_retries++ >= MAX_RETRIES) {
>> remove_elog_head_entry();
>> - prerror("ELOG: Error in writing to FSP!\n");
>> + prerror("ELOG: Error in writing to FSP (%x)!\n", val);
>
> Will this be clear that it's a hex value? Should we do 0x%x? Or %08x?
> Or both?
I'll make it 0x%x
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list