Re: [libvirt] [PATCH] util: fix a bug found in sorting cache monitor results

2019-05-13 Thread Daniel P . Berrangé
On Mon, May 13, 2019 at 12:05:47PM +0200, Michal Privoznik wrote: > On 5/10/19 5:21 PM, Wang Huaqiang wrote: > > From: Huaqiang > > > > The qsort element is a pointer of virResctrlMonitorStats, and > > the comparing function's arguments have a type of pointer of > > virResctrlMonitorStatsPtr. > >

Re: [libvirt] [PATCH] util: fix a bug found in sorting cache monitor results

2019-05-13 Thread Michal Privoznik
On 5/10/19 5:21 PM, Wang Huaqiang wrote: From: Huaqiang The qsort element is a pointer of virResctrlMonitorStats, and the comparing function's arguments have a type of pointer of virResctrlMonitorStatsPtr. Signed-off-by: Huaqiang --- src/util/virresctrl.c | 6 +++--- 1 file changed, 3 inse

[libvirt] [PATCH] util: fix a bug found in sorting cache monitor results

2019-05-10 Thread Wang Huaqiang
From: Huaqiang The qsort element is a pointer of virResctrlMonitorStats, and the comparing function's arguments have a type of pointer of virResctrlMonitorStatsPtr. Signed-off-by: Huaqiang --- src/util/virresctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/u