lkml.org 
[lkml]   [2018]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 0/7] lib/lzo: performance improvements
Date
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
\
 
 \ /
  Last update: 2018-12-05 10:51    [W:0.206 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site