mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
2361b5eb5c
When building highbank_defconfig with LTO, the compiler complains about type mismatch of function ahci_link_up(). The third parameter of this function is of type u8 in drivers/ata/ahci.c, but of type int in board/highbank/ahci.c. There is no reason in using u8, and the code using this function actually passes an int variable into the function (so it is implicitly converted to u8). Change the type of this parameter to int in drivers/ata/ahci.c. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
ahci_mvebu.c | ||
ahci_sunxi.c | ||
ahci-pci.c | ||
ahci-uclass.c | ||
ahci.c | ||
dwc_ahci.c | ||
dwc_ahsata_priv.h | ||
dwc_ahsata.c | ||
fsl_sata.c | ||
fsl_sata.h | ||
Kconfig | ||
libata.c | ||
Makefile | ||
mtk_ahci.c | ||
sata_ceva.c | ||
sata_mv.c | ||
sata_sandbox.c | ||
sata_sil3114.c | ||
sata_sil3114.h | ||
sata_sil.c | ||
sata_sil.h | ||
sata.c |