[U-Boot] [PATCH 1/6] usb: dwc2: avoid out of bounds access

Stefan Bruens
2015-12-17T01:44:22Z

On Wednesday 16 December 2015 11:29:14 Marek Vasut wrote:
> > > + if (!in && xfer_len) {
> >
> > Do zero-length memcpy or flush_dcache_range actually cause an issue?
>
> I believe they should not, based on how they are implemented.

I think that's correct, it is just a minor optimization.

Kind regards,

Stefan

--
Stefan Br?ns / Bergstra?e 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
work: +49 2405 49936-424