[Skiboot] [PATCH] fsp-leds: add missing \n in duplicate loc code error msg
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Mar 9 20:42:57 AEDT 2017
On 03/09/2017 10:45 AM, Stewart Smith wrote:
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
Thanks for fixing this. I think we are hitting few duplicate location code
issues in P9 box. Will look into that next week.
Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
-Vasant
> ---
> hw/fsp/fsp-leds.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
> index b5a32addcb75..0fe0309494ba 100644
> --- a/hw/fsp/fsp-leds.c
> +++ b/hw/fsp/fsp-leds.c
> @@ -1585,7 +1585,7 @@ void create_led_device_nodes(void)
> list_for_each_safe(&cec_ledq, led, next, link) {
> /* Duplicate LED location code */
> if (dt_find_by_path(pled, led->loc_code)) {
> - prlog(PR_WARNING, "duplicate location code %s",
> + prlog(PR_WARNING, "duplicate location code %s\n",
> led->loc_code);
> continue;
> }
>
More information about the Skiboot
mailing list