tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c commit: 3448914e8cc550ba792d4ccc74471d1ca4293aae [10588/14131] loop: Add LOOP_CONFIGURE ioctl config: mips-randconfig-r014-20200602 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu git checkout 3448914e8cc550ba792d4ccc74471d1ca4293aae # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot All warnings (new ones prefixed by >>, old ones prefixed by <<): >> drivers/block/loop.c:238:27: warning: result of comparison of constant 65536 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize)) ~~~~~ ^ ~~~~~~~~~ 1 warning generated. vim +238 drivers/block/loop.c 230 231 /** 232 * loop_validate_block_size() - validates the passed in block size 233 * @bsize: size to validate 234 */ 235 static int 236 loop_validate_block_size(unsigned short bsize) 237 { > 238 if (bsize < 512 || bsize > PAGE_SIZE || !is_power_of_2(bsize)) 239 return -EINVAL; 240 241 return 0; 242 } 243 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org