Re: [PATCH 29/31] virPCIVPDParseVPDLargeResourceFields: Refactor return logic

2024-01-31 Thread Ján Tomko
On a Tuesday in 2024, Peter Krempa wrote: Rewrite the conditions after exiting the parser so that they are easier to understand. This partially decreases the granularity of "error" messages as they are not strictly necessary albeit for debugging. As it was already observed in this code the

[PATCH 29/31] virPCIVPDParseVPDLargeResourceFields: Refactor return logic

2024-01-30 Thread Peter Krempa
Rewrite the conditions after exiting the parser so that they are easier to understand. This partially decreases the granularity of "error" messages as they are not strictly necessary albeit for debugging. As it was already observed in this code the logic itself often does something else than the