:::::: :::::: Manual check reason: "low confidence bisect report" :::::: Manual check reason: "low confidence static check warning: io_uring/poll.c:719:14: warning: use of uninitialized value '<unknown>' [CWE-457] [-Wanalyzer-use-of-uninitialized-value]" ::::::
BCC: [email protected] CC: [email protected] CC: [email protected] TO: Jens Axboe <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1612c382ffbdf1f673caec76502b1c00e6d35363 commit: 329061d3e2f9a0082a097e9558bd5497098586c6 io_uring: move poll handling into its own file date: 2 weeks ago :::::: branch date: 11 hours ago :::::: commit date: 2 weeks ago config: arm-randconfig-c002-20220804 (https://download.01.org/0day-ci/archive/20220807/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=329061d3e2f9a0082a097e9558bd5497098586c6 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 329061d3e2f9a0082a097e9558bd5497098586c6 # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross ARCH=arm KBUILD_USERCFLAGS='-fanalyzer -Wno-error' If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <[email protected]> gcc-analyzer warnings: (new ones prefixed by >>) io_uring/poll.c: In function 'io_poll_remove': >> io_uring/poll.c:719:14: warning: use of uninitialized value '<unknown>' >> [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 719 | bool locked; | ^~~~~~ 'io_poll_remove': event 1 | | 719 | bool locked; | | ^~~~~~ | | | | | (1) use of uninitialized value '<unknown>' here | vim +719 io_uring/poll.c 329061d3e2f9a0 Jens Axboe 2022-05-25 711 329061d3e2f9a0 Jens Axboe 2022-05-25 712 int io_poll_remove(struct io_kiocb *req, unsigned int issue_flags) 329061d3e2f9a0 Jens Axboe 2022-05-25 713 { 329061d3e2f9a0 Jens Axboe 2022-05-25 714 struct io_poll_update *poll_update = io_kiocb_to_cmd(req); 329061d3e2f9a0 Jens Axboe 2022-05-25 715 struct io_cancel_data cd = { .data = poll_update->old_user_data, }; 329061d3e2f9a0 Jens Axboe 2022-05-25 716 struct io_ring_ctx *ctx = req->ctx; 329061d3e2f9a0 Jens Axboe 2022-05-25 717 struct io_kiocb *preq; 329061d3e2f9a0 Jens Axboe 2022-05-25 718 int ret2, ret = 0; 329061d3e2f9a0 Jens Axboe 2022-05-25 @719 bool locked; -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
