Hi Gwan-gyeong, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [also build test WARNING on linus/master v6.0-rc7] [cannot apply to drm-intel/for-linux-next kees/for-next/hardening next-20220928] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Gwan-gyeong-Mun/Fixes-integer-overflow-or-integer-truncation-issues-in-page-lookups-ttm-place-configuration-and-scatterlist-creation/20220927-094859 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: riscv-randconfig-r042-20220925 compiler: riscv64-linux-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://github.com/intel-lab-lkp/linux/commit/49eb3d58d93b3ac457ea8de8879e19e55c2788e6 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Gwan-gyeong-Mun/Fixes-integer-overflow-or-integer-truncation-issues-in-page-lookups-ttm-place-configuration-and-scatterlist-creation/20220927-094859 git checkout 49eb3d58d93b3ac457ea8de8879e19e55c2788e6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash lib/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> lib/overflow_kunit.c:20: warning: ignoring '#pragma clang diagnostic' [-Wunknown-pragmas] 20 | #pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare" | lib/overflow_kunit.c: In function 'castable_to_type_test': lib/overflow_kunit.c:984:13: warning: unused variable 'small' [-Wunused-variable] 984 | s64 small; | ^~~~~ lib/overflow_kunit.c:983:13: warning: unused variable 'big' [-Wunused-variable] 983 | u64 big; | ^~~ vim +20 lib/overflow_kunit.c 18 19 /* We're expecting to do a lot of "always true" or "always false" tests. */ > 20 #pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare" 21 -- 0-DAY CI Kernel Test Service https://01.org/lkp