Hi Guillaume, [auto build test WARNING on net/master]
url: https://github.com/0day-ci/linux/commits/Guillaume-Nault/l2tp-fixes-for-l2tp_ip-and-l2tp_ip6-socket-handling/20161129-043208 config: x86_64-rhel (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): net/l2tp/l2tp_ip.c: In function 'l2tp_ip_bind': >> net/l2tp/l2tp_ip.c:299:9: warning: 'ret' may be used uninitialized in this >> function [-Wmaybe-uninitialized] return ret; ^~~ vim +/ret +299 net/l2tp/l2tp_ip.c 3fb4e5ea Guillaume Nault 2016-11-28 283 goto out; 3fb4e5ea Guillaume Nault 2016-11-28 284 } 3fb4e5ea Guillaume Nault 2016-11-28 285 3fb4e5ea Guillaume Nault 2016-11-28 286 sk_dst_reset(sk); 0d76751f James Chapman 2010-04-02 287 l2tp_ip_sk(sk)->conn_id = addr->l2tp_conn_id; 0d76751f James Chapman 2010-04-02 288 0d76751f James Chapman 2010-04-02 289 sk_add_bind_node(sk, &l2tp_ip_bind_table); 0d76751f James Chapman 2010-04-02 290 sk_del_node_init(sk); 0d76751f James Chapman 2010-04-02 291 write_unlock_bh(&l2tp_ip_lock); 3fb4e5ea Guillaume Nault 2016-11-28 292 0d76751f James Chapman 2010-04-02 293 ret = 0; c51ce497 James Chapman 2012-05-29 294 sock_reset_flag(sk, SOCK_ZAPPED); c51ce497 James Chapman 2012-05-29 295 0d76751f James Chapman 2010-04-02 296 out: 0d76751f James Chapman 2010-04-02 297 release_sock(sk); 0d76751f James Chapman 2010-04-02 298 0d76751f James Chapman 2010-04-02 @299 return ret; 0d76751f James Chapman 2010-04-02 300 } 0d76751f James Chapman 2010-04-02 301 0d76751f James Chapman 2010-04-02 302 static int l2tp_ip_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) 0d76751f James Chapman 2010-04-02 303 { 0d76751f James Chapman 2010-04-02 304 struct sockaddr_l2tpip *lsa = (struct sockaddr_l2tpip *) uaddr; de3c7a18 James Chapman 2012-04-29 305 int rc; 0d76751f James Chapman 2010-04-02 306 0d76751f James Chapman 2010-04-02 307 if (addr_len < sizeof(*lsa)) :::::: The code at line 299 was first introduced by commit :::::: 0d76751fad7739014485ba5bd388d4f1b4fd4143 l2tp: Add L2TPv3 IP encapsulation (no UDP) support :::::: TO: James Chapman <jchap...@katalix.com> :::::: CC: David S. Miller <da...@davemloft.net> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip