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

From: Dave Rodgman
Date: Wed Dec 05 2018 - 04:59:45 EST


On 05/12/2018 7:30 am, Sergey Senozhatsky wrote:
> Hi Dave,
>
> Notices this warning today:
>
> 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,

This warning (it's a false positive only seen with gcc) was fixed by v4 of this patchset. I've just tested the latest
linux-next/master (next-20181205) and it doesn't have this issue.

cheers

Dave