CC: kbuild-...@lists.01.org TO: Christoph Hellwig <h...@lst.de> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c11d28ab4a691736e30b49813fb801847bd44e83 commit: 2618d530dd8b7ac0fdcb83f4c95b88f7b0d37ce6 [7517/12102] net/scm: cleanup scm_detach_fds :::::: branch date: 3 days ago :::::: commit date: 13 days ago config: s390-randconfig-m001-20200524 (attached as .config) compiler: s390-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <l...@intel.com> Reported-by: Dan Carpenter <dan.carpen...@oracle.com> New smatch warnings: net/core/scm.c:295 __scm_install_fd() warn: ignoring unreachable code. Old smatch warnings: net/core/scm.c:341 scm_detach_fds() warn: ignoring unreachable code. # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2618d530dd8b7ac0fdcb83f4c95b88f7b0d37ce6 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git remote update linux-next git checkout 2618d530dd8b7ac0fdcb83f4c95b88f7b0d37ce6 vim +295 net/core/scm.c 9718475e69084de Deepa Dinamani 2019-02-02 279 2618d530dd8b7ac Christoph Hellwig 2020-05-11 280 static int __scm_install_fd(struct file *file, int __user *ufd, int o_flags) ^1da177e4c3f415 Linus Torvalds 2005-04-16 281 { 2618d530dd8b7ac Christoph Hellwig 2020-05-11 282 struct socket *sock; 2618d530dd8b7ac Christoph Hellwig 2020-05-11 283 int new_fd; 2618d530dd8b7ac Christoph Hellwig 2020-05-11 284 int error; ^1da177e4c3f415 Linus Torvalds 2005-04-16 285 2618d530dd8b7ac Christoph Hellwig 2020-05-11 286 error = security_file_receive(file); 2618d530dd8b7ac Christoph Hellwig 2020-05-11 287 if (error) 2618d530dd8b7ac Christoph Hellwig 2020-05-11 288 return error; ^1da177e4c3f415 Linus Torvalds 2005-04-16 289 2618d530dd8b7ac Christoph Hellwig 2020-05-11 290 new_fd = get_unused_fd_flags(o_flags); 2618d530dd8b7ac Christoph Hellwig 2020-05-11 291 if (new_fd < 0) 2618d530dd8b7ac Christoph Hellwig 2020-05-11 292 return new_fd; ^1da177e4c3f415 Linus Torvalds 2005-04-16 293 2618d530dd8b7ac Christoph Hellwig 2020-05-11 294 error = put_user(new_fd, ufd); 2618d530dd8b7ac Christoph Hellwig 2020-05-11 @295 if (error) { ^1da177e4c3f415 Linus Torvalds 2005-04-16 296 put_unused_fd(new_fd); 2618d530dd8b7ac Christoph Hellwig 2020-05-11 297 return error; ^1da177e4c3f415 Linus Torvalds 2005-04-16 298 } 2618d530dd8b7ac Christoph Hellwig 2020-05-11 299 ^1da177e4c3f415 Linus Torvalds 2005-04-16 300 /* Bump the usage count and install the file. */ 2618d530dd8b7ac Christoph Hellwig 2020-05-11 301 sock = sock_from_file(file, &error); d84295067fc7e95 Daniel Wagner 2013-01-21 302 if (sock) { 2a56a1fec290bf0 Tejun Heo 2015-12-07 303 sock_update_netprioidx(&sock->sk->sk_cgrp_data); 2a56a1fec290bf0 Tejun Heo 2015-12-07 304 sock_update_classid(&sock->sk->sk_cgrp_data); d84295067fc7e95 Daniel Wagner 2013-01-21 305 } 2618d530dd8b7ac Christoph Hellwig 2020-05-11 306 fd_install(new_fd, get_file(file)); 2618d530dd8b7ac Christoph Hellwig 2020-05-11 307 return error; ^1da177e4c3f415 Linus Torvalds 2005-04-16 308 } ^1da177e4c3f415 Linus Torvalds 2005-04-16 309 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org