[U-Boot] [PATCH 1/3] pci: Add error values definitions from the kernel

Tom Rini trini at konsulko.com
Thu Jan 7 17:28:30 CET 2016


On Thu, Jan 07, 2016 at 11:31:06AM -0200, Fabio Estevam wrote:
> On Thu, Jan 7, 2016 at 10:58 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> 
> > Ah, yes! Sorry I wanted to say the original proposal to "return 0"
> > instead. But now I failed to understand why this fixed the issue
> > because those error numbers are not zero.
> 
> The problem only happens if we return a negative value.
> 
> > And why returning zero is bad? From a working PCIe controller (either
> 
> It is not bad, but I still prefer to keep in sync with the kernel driver.

And would allow further features later on?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160107/51ef1fb5/attachment.sig>


More information about the U-Boot mailing list