ACK: [PATCH] opal: prd: Improve message when no PRD detected
Alex Hung
alex.hung at canonical.com
Fri Sep 2 00:44:19 UTC 2016
On 2016-09-02 02:10 AM, 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: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list