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

From: Sergey Senozhatsky
Date: Wed Dec 05 2018 - 02:30:40 EST


On (11/30/18 14:26), Dave Rodgman wrote:
>
> This patch series introduces performance improvements for lzo.
>
> The previous version of this patchset is here:
> https://lkml.org/lkml/2018/11/30/807
>
> This version of the patchset fixes a maybe-used-uninitialized warning
> (although the previous version was still safe).

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)

-ss