[PATCH xserver 1/2] xwayland: use the lowercase xnf.*alloc API

Olivier Fourdan ofourdan at redhat.com
Mon May 30 07:50:48 UTC 2016


Hi Emil,

On 29 May 2016 at 12:16, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Can anyone ack/nack this and patch 2/2 ?

While at it, could you please also add the XNFreallocarray() I added in the meantime in xwayland-glamor-xv.c to your patch for xwayland?

Meanwhile for 1/2 and 2/2 in https://patchwork.freedesktop.org/series/5835/

Reviewed-by: Olivier Fourdan <ofourdan at redhat.com>

Cheers,
Olivier

----- Original Message -----
> Can anyone ack/nack this and patch 2/2 ?
> 
> On 1 May 2016 at 18:33, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> > Humble ping ?
> >
> > On 17 April 2016 at 17:24, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> >> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> >> ---
> >>  hw/xwayland/xwayland-glamor-xv.c | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/hw/xwayland/xwayland-glamor-xv.c
> >> b/hw/xwayland/xwayland-glamor-xv.c
> >> index 65f93c6..8e0f8da 100644
> >> --- a/hw/xwayland/xwayland-glamor-xv.c
> >> +++ b/hw/xwayland/xwayland-glamor-xv.c
> >> @@ -213,7 +213,7 @@ xwl_glamor_xv_add_formats(XvAdaptorPtr pa)
> >>                          void *moreSpace;
> >>
> >>                          totFormat *= 2;
> >> -                        moreSpace = XNFreallocarray(pFormat, totFormat,
> >> +                        moreSpace = xnfreallocarray(pFormat, totFormat,
> >>                                                      sizeof(XvFormatRec));
> >>                          pFormat = moreSpace;
> >>                          pf = pFormat + numFormat;
> >> --
> >> 2.8.0
> >>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list