[U-Boot] [PATCH 04/10] dm: pci: Correct a few debug() statements

Bin Meng bmeng.cn at gmail.com
Mon Sep 14 14:15:50 CEST 2015


On Wed, Sep 9, 2015 at 7:52 AM, Simon Glass <sjg at chromium.org> wrote:
> One debug() statement is missing a newline. The other has a repeated word.
> Fix these.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/pci/pci-uclass.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
> index 437c81a..7347160 100644
> --- a/drivers/pci/pci-uclass.c
> +++ b/drivers/pci/pci-uclass.c
> @@ -418,7 +418,7 @@ int dm_pci_hose_probe_bus(struct pci_controller *hose, pci_dev_t bdf)
>
>         ret = device_probe(bus);
>         if (ret) {
> -               debug("%s: Cannot probe bus bus %s: %d\n", __func__, bus->name,
> +               debug("%s: Cannot probe bus %s: %d\n", __func__, bus->name,
>                       ret);
>                 return ret;
>         }
> @@ -537,7 +537,7 @@ static int pci_find_and_bind_driver(struct udevice *parent,
>
>         ret = device_bind_driver(parent, drv, str, devp);
>         if (ret) {
> -               debug("%s: Failed to bind generic driver: %d", __func__, ret);
> +               debug("%s: Failed to bind generic driver: %d\n", __func__, ret);
>                 return ret;
>         }
>         debug("%s: No match found: bound generic driver instead\n", __func__);
> --

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list