[U-Boot] [PATCH] dm: scsi: fix callto function with wrong signature

Bin Meng bmeng.cn at gmail.com
Sat Aug 5 00:02:02 UTC 2017


Hi Philipp,

On Sat, Aug 5, 2017 at 3:11 AM, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> buildman fails for the qemu-x86 with the following error:
>   drivers/ata/ahci-pci.c: In function 'ahci_pci_probe':
>   drivers/ata/ahci-pci.c:21:9: error: too few arguments to function 'ahci_probe_scsi'
>     return ahci_probe_scsi(dev);
>            ^
>   In file included from drivers/ata/ahci-pci.c:8:0:
>   include/ahci.h:224:5: note: declared here
>     int ahci_probe_scsi(struct udevice *ahci_dev, ulong base);
>
> This changes the function call to call ahci_probe_scsi_pci (which
> matches the signature and probes for a controller via on a PCI bus).
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>

Thanks for the patch. This is already fixed in the u-boot/master.

Regards,
Bin


More information about the U-Boot mailing list