ACK: [PATCH] opal: prd: Improve message when no PRD detected
Colin Ian King
colin.king at canonical.com
Thu Sep 1 18:24:10 UTC 2016
On 01/09/16 19:10, Deb McLemore wrote:
> Add the device path to the message when no PRD is detected.
>
> Signed-off-by: Deb McLemore <debmc at linux.vnet.ibm.com>
> ---
> src/opal/prd_info.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/opal/prd_info.c b/src/opal/prd_info.c
> index d529504..93daceb 100644
> --- a/src/opal/prd_info.c
> +++ b/src/opal/prd_info.c
> @@ -162,8 +162,8 @@ static int prd_info_test1(fwts_framework *fw)
> if (!prd_present(R_OK | W_OK)) {
> fwts_failed(fw, LOG_LEVEL_CRITICAL, "OPAL PRD Info",
> "Cannot read and write to the OPAL PRD"
> - " device interface,"
> - " check your user privileges.");
> + " device interface %s, check your system"
> + " installation and user privileges.", prd_devnode);
> return FWTS_ERROR;
> }
>
>
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list