[U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

Beniamino Galvani
2016-04-18T22:05:11Z

On Mon, Apr 18, 2016 at 01:55:55PM +0200, Andreas F?rber wrote:
> > + if ((unsigned long long)priv + sizeof(*priv) > (1ULL << 32)) {
>
> >=?

I think ">" is correct, the (unfortunate) case

priv + size == (1 << 32)

is still acceptable because the last byte used by the structure would
be (priv + size - 1).

Beniamino