[PATCH 12/20] net: phy: fixed: Add the missing ending newline

Ramon Fried rfried.dev at gmail.com
Tue Mar 2 18:48:21 CET 2021


On Tue, Mar 2, 2021 at 5:36 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> The printf statement doesn't end with a newline. Add it.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/net/phy/fixed.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c
> index 2a41baf8d7..8fc9c66684 100644
> --- a/drivers/net/phy/fixed.c
> +++ b/drivers/net/phy/fixed.c
> @@ -26,7 +26,7 @@ static int fixedphy_probe(struct phy_device *phydev)
>                                            ofnode, 0, "speed", 0);
>         if (val != SPEED_10 && val != SPEED_100 && val != SPEED_1000 &&
>             val != SPEED_2500 && val != SPEED_10000) {
> -               printf("ERROR: no/invalid speed given in fixed-link node!");
> +               printf("ERROR: no/invalid speed given in fixed-link node!\n");
>                 return -EINVAL;
>         }
>
> --
> 2.25.1
>
Reviewed-By: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list