lkml.org 
[lkml]   [2018]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the cifs tree
Hi all,

After merging the cifs tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from include/linux/seqlock.h:36:0,
from include/linux/time.h:6,
from include/linux/stat.h:19,
from include/linux/module.h:10,
from fs/cifs/smbdirect.c:16:
fs/cifs/smbdirect.c: In function 'smbd_recv_buf':
include/linux/spinlock.h:260:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
_raw_spin_unlock_irqrestore(lock, flags); \
^
fs/cifs/smbdirect.c:1865:16: note: 'flags' was declared here
unsigned long flags;
^

Introduced by commit

ac69f66e54ca ("CIFS: SMBD: Implement function to receive data via RDMA receive")

OK, this is a false positive, but annoying.

I am using gcc 5.2.0.

--
Cheers,
Stephen Rothwell

\
 
 \ /
  Last update: 2018-01-03 23:34    [W:0.031 / U:23.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site