arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:1987 ZSTD_decompressSequencesLong() warn: inconsistent indenting
From: kernel test robot
Date: Tue Mar 31 2026 - 00:57:23 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d0c3bcd5b8976159d835a897254048e078f447e6
commit: 65d1f5507ed2c78c64fce40e44e5574a9419eb09 zstd: Import upstream v1.5.7
date: 1 year, 1 month ago
config: i386-randconfig-141-20260331 (https://download.01.org/0day-ci/archive/20260331/202603311222.GyaHIWkP-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9004-gb810ac53
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603311222.GyaHIWkP-lkp@xxxxxxxxx/
New smatch warnings:
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:1987 ZSTD_decompressSequencesLong() warn: inconsistent indenting
Old smatch warnings:
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:650 HUF_decompress4X1_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:650 HUF_decompress4X1_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:1431 HUF_decompress4X2_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:1431 HUF_decompress4X2_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:941 ZSTD_execSequenceEnd() warn: inconsistent indenting
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:990 ZSTD_execSequenceEndSplitLitBuffer() warn: inconsistent indenting
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:1063 ZSTD_execSequence() warn: inconsistent indenting
arch/x86/boot/compressed/misc.c:397 early_sev_detect() warn: bitwise AND condition is false here
vim +1987 arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c
1967
1968
1969 #ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
1970 /* ZSTD_decompressSequencesLong() :
1971 * decompression function triggered when a minimum share of offsets is considered "long",
1972 * aka out of cache.
1973 * note : "long" definition seems overloaded here, sometimes meaning "wider than bitstream register", and sometimes meaning "farther than memory cache distance".
1974 * This function will try to mitigate main memory latency through the use of prefetching */
1975 static size_t
1976 ZSTD_decompressSequencesLong(ZSTD_DCtx* dctx,
1977 void* dst, size_t maxDstSize,
1978 const void* seqStart, size_t seqSize, int nbSeq,
1979 const ZSTD_longOffset_e isLongOffset)
1980 {
1981 DEBUGLOG(5, "ZSTD_decompressSequencesLong");
1982 #if DYNAMIC_BMI2
1983 if (ZSTD_DCtx_get_bmi2(dctx)) {
1984 return ZSTD_decompressSequencesLong_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
1985 }
1986 #endif
> 1987 return ZSTD_decompressSequencesLong_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset);
1988 }
1989 #endif /* ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT */
1990
1991
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki