Re: [libvirt] [PATCH 4/9] virhostdevtest: Check for integer retval in more verbose way

2019-08-26 Thread Ján Tomko
On Mon, Aug 12, 2019 at 01:54:20PM +0200, Michal Privoznik wrote: From: Michal Privoznik The e-mail here does not match the one in the signoff There are few functions called from the test which return an integer but their retval is compared as if it was a pointer. Now, there is nothing wron

[libvirt] [PATCH 4/9] virhostdevtest: Check for integer retval in more verbose way

2019-08-12 Thread Michal Privoznik
From: Michal Privoznik There are few functions called from the test which return an integer but their retval is compared as if it was a pointer. Now, there is nothing wrong with that from machine POV, but from readability perspective it's wrong. Signed-off-by: Michal Privoznik --- tests/virhos