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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux