BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: Linux Memory Management List TO: Nick Terrell tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 60eac8672b5b6061ec07499c0f1b79f6d94311ce commit: 2aa14b1ab2c41a4fe41efae80d58bb77da91f19f [2780/3509] zstd: import usptream v1.5.2 :::::: branch date: 11 hours ago :::::: commit date: 2 days ago config: i386-randconfig-m021 compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Reported-by: Dan Carpenter smatch warnings: lib/zstd/compress/huf_compress.c:460 HUF_getIndex() warn: the 'RANK_POSITION_LOG_BUCKETS_BEGIN' macro might need parens lib/zstd/compress/huf_compress.c:460 HUF_getIndex() warn: the 'RANK_POSITION_LOG_BUCKETS_BEGIN' macro might need parens lib/zstd/decompress/zstd_decompress_internal.h:206 ZSTD_DCtx_get_bmi2() warn: inconsistent indenting lib/zstd/decompress/zstd_decompress_block.c:894 ZSTD_execSequenceEnd() warn: inconsistent indenting lib/zstd/decompress/zstd_decompress_block.c:942 ZSTD_execSequenceEndSplitLitBuffer() warn: inconsistent indenting lib/zstd/decompress/zstd_decompress_block.c:1009 ZSTD_execSequence() warn: inconsistent indenting vim +/RANK_POSITION_LOG_BUCKETS_BEGIN +460 lib/zstd/compress/huf_compress.c 2aa14b1ab2c41a Nick Terrell 2022-10-17 453 2aa14b1ab2c41a Nick Terrell 2022-10-17 454 /* Return the appropriate bucket index for a given count. See definition of 2aa14b1ab2c41a Nick Terrell 2022-10-17 455 * RANK_POSITION_DISTINCT_COUNT_CUTOFF for explanation of bucketing strategy. 2aa14b1ab2c41a Nick Terrell 2022-10-17 456 */ 2aa14b1ab2c41a Nick Terrell 2022-10-17 457 static U32 HUF_getIndex(U32 const count) { 2aa14b1ab2c41a Nick Terrell 2022-10-17 458 return (count < RANK_POSITION_DISTINCT_COUNT_CUTOFF) 2aa14b1ab2c41a Nick Terrell 2022-10-17 459 ? count 2aa14b1ab2c41a Nick Terrell 2022-10-17 @460 : BIT_highbit32(count) + RANK_POSITION_LOG_BUCKETS_BEGIN; 2aa14b1ab2c41a Nick Terrell 2022-10-17 461 } 2aa14b1ab2c41a Nick Terrell 2022-10-17 462 -- 0-DAY CI Kernel Test Service https://01.org/lkp