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

Re: [libvirt] [PATCH 01/24] tests: hostdev: Remove magic numbers



On 03/07/2016 12:24 PM, Andrea Bolognani wrote:
When checking the number of devices added to a device list, use the
nhostdevs variable instead of its value, so that the test can keep
working even if more hostdevs are added.
---
  tests/virhostdevtest.c | 14 +++++++-------
  1 file changed, 7 insertions(+), 7 deletions(-)

ACK.


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