[PATCH 2/4] PCI: add functionality for resizing resources v3

Christian König deathsimple at vodafone.de
Thu May 4 09:23:27 UTC 2017


Am 26.04.2017 um 19:00 schrieb Andy Shevchenko:
> [SNIP]
>> +       while (1) {
> This raises red flag. Care to refactor?
> Also do {} while () syntax allows faster to get that the loop body
> goes at least once.

I've tried to refactor this, but couldn't come up with something which 
works and is readable at the same time.

Any suggestion how this should look like?

Christian.


More information about the dri-devel mailing list