Re: [PATCH v4 0/7] lib/lzo: performance improvements

From: Sergey Senozhatsky
Date: Wed Dec 05 2018 - 05:20:08 EST


On (12/05/18 09:50), Dave Rodgman wrote:
> > lib/lzo/lzo1x_compress.c: In function âlzo1x_1_do_compressâ:
> > lib/lzo/lzo1x_compress.c:239:14: warning: âm_posâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> > 239 | m_off = ip - m_pos;
> >
> > Care to take a look? (could be false positive)
>
> Hi Sergey,

Hi,

> This warning (it's a false positive only seen with gcc) was fixed
> by v4 of this patchset.

OK, cool.

> I've just tested the latest linux-next/master (next-20181205)
> and it doesn't have this issue.

Indeed.

-ss