summaryrefslogtreecommitdiff
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-07-07 16:46:30 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-20 18:36:35 +0200
commit29c1a8e6e749c6213e6bea903a8980fbf7017e4a (patch)
tree93e5eed0539dd65323817428bb34ab252610d6c5 /include/linux/moduleparam.h
parentb4f7089949b8a1000df7d54cfc3729a0e768c52a (diff)
io_uring/rw: cast rw->flags assignment to rwf_t
commit 825aea662b492571877b32aeeae13689fd9fbee4 upstream. kernel test robot reports that a recent change of the sqe->rw_flags field throws a sparse warning on 32-bit archs: >> io_uring/rw.c:291:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __kernel_rwf_t [usertype] flags @@ got unsigned int @@ io_uring/rw.c:291:19: sparse: expected restricted __kernel_rwf_t [usertype] flags io_uring/rw.c:291:19: sparse: got unsigned int Force cast it to rwf_t to silence that new sparse warning. Fixes: cf73d9970ea4 ("io_uring: don't use int for ABI") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202507032211.PwSNPNSP-lkp@intel.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions