Searched hist:"977 bc873" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | rsrc.c | 977bc873 Fri Feb 24 10:54:57 CST 2023 Jens Axboe <axboe@kernel.dk> io_uring/rsrc: always initialize 'folio' to NULL
Smatch complains that:
smatch warnings: io_uring/rsrc.c:1262 io_sqe_buffer_register() error: uninitialized symbol 'folio'.
'folio' may be used uninitialized, which can happen if we end up with a single page mapped. Ensure that we clear folio to NULL at the top so it's always set.
Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/r/202302241432.YML1CD5C-lkp@intel.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
|