Re: [PATCH 09/11] worker: fix some fields access

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

 



> 
> On Wed, Nov 11, 2015 at 1:20 PM, Frediano Ziglio <fziglio@xxxxxxxxxx> wrote:
> > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> >
> > ---
> >  server/display-channel.c | 18 +++++++++---------
> >  1 file changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/server/display-channel.c b/server/display-channel.c
> > index 163f6b7..fbd8a0e 100644
> > --- a/server/display-channel.c
> > +++ b/server/display-channel.c
> > @@ -20,18 +20,18 @@
> >
> >  #include "display-channel.h"
> >
> > -void display_channel_compress_stats_reset(DisplayChannel *display_channel)
> > +void display_channel_compress_stats_reset(DisplayChannel *display)
> >  {
> > -    spice_return_if_fail(display_channel);
> > +    spice_return_if_fail(display);
> >
> >  #ifdef COMPRESS_STAT
> > -    stat_reset(&worker->display_channel->quic_stat);
> > -    stat_reset(&worker->display_channel->lz_stat);
> > -    stat_reset(&worker->display_channel->glz_stat);
> > -    stat_reset(&worker->display_channel->jpeg_stat);
> > -    stat_reset(&worker->display_channel->zlib_glz_stat);
> > -    stat_reset(&worker->display_channel->jpeg_alpha_stat);
> > -    stat_reset(&worker->display_channel->lz4_stat);
> > +    stat_reset(&display->quic_stat);
> > +    stat_reset(&display->lz_stat);
> > +    stat_reset(&display->glz_stat);
> > +    stat_reset(&display->jpeg_stat);
> > +    stat_reset(&display->zlib_glz_stat);
> > +    stat_reset(&display->jpeg_alpha_stat);
> > +    stat_reset(&display->lz4_stat);
> >  #endif
> >  }
> >
> > --
> > 2.4.3
> >
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
> Looks good. But I would squash this one to the next one. (Feel free to
> ignore the suggestion).
> 
Merged (squashed)

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]