* arch/powerpc/math-emu/fsqrts.c:39:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used
@ 2026-10-23 20:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-23 20:46 UTC (permalink / raw)
To: Matt Turner; +Cc: oe-kbuild-all, linux-kernel, Magnus Lindholm
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7a78f7ba9f24962c8033e0152bf34a7903ff61ba
commit: b74843b38da8f1186fd7d447646c835b47096a15 alpha: determine tininess after rounding in the FP emulation
date: 3 days ago
config: powerpc64-randconfig-r2103-20261023 (https://download.01.org/0day-ci/archive/20261023/202610232211.PH7EKsOW-lkp@intel.com/config)
compiler: clang version 21.1.6 (https://github.com/llvm/llvm-project a832a5222e489298337fbb5876f8dcaf072c5cca)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261023/202610232211.PH7EKsOW-lkp@intel.com/reproduce)
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
| Fixes: b74843b38da8 ("alpha: determine tininess after rounding in the FP emulation")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610232211.PH7EKsOW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/powerpc/math-emu/fsqrts.c:39:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used [-Wunused-but-set-variable]
39 | __FP_PACK_DS(frD, R);
| ^
arch/powerpc/include/asm/sfp-machine.h:185:5: note: expanded from macro '__FP_PACK_DS'
185 | _FP_PACK_CANONICAL(S, 1, __X); \
| ^
include/math-emu/op-common.h:145:6: note: expanded from macro '_FP_PACK_CANONICAL'
145 | FP_DECL_##fs(_FP_PACK_CANONICAL_T); \
| ^
<scratch space>:29:1: note: expanded from here
29 | FP_DECL_S
| ^
include/math-emu/single.h:62:23: note: expanded from macro 'FP_DECL_S'
62 | #define FP_DECL_S(X) _FP_DECL(1,X)
| ^
include/math-emu/op-common.h:28:32: note: expanded from macro '_FP_DECL'
28 | _FP_I_TYPE X##_c=0, X##_s=0, X##_e=0; \
| ^
<scratch space>:32:1: note: expanded from here
32 | _FP_PACK_CANONICAL_T_e
| ^
>> arch/powerpc/math-emu/fsqrts.c:39:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used [-Wunused-but-set-variable]
arch/powerpc/include/asm/sfp-machine.h:189:6: note: expanded from macro '__FP_PACK_DS'
189 | _FP_PACK_CANONICAL(D, 2, X); \
| ^
include/math-emu/op-common.h:145:6: note: expanded from macro '_FP_PACK_CANONICAL'
145 | FP_DECL_##fs(_FP_PACK_CANONICAL_T); \
| ^
<scratch space>:87:1: note: expanded from here
87 | FP_DECL_D
| ^
include/math-emu/double.h:73:23: note: expanded from macro 'FP_DECL_D'
73 | #define FP_DECL_D(X) _FP_DECL(2,X)
| ^
include/math-emu/op-common.h:28:32: note: expanded from macro '_FP_DECL'
28 | _FP_I_TYPE X##_c=0, X##_s=0, X##_e=0; \
| ^
<scratch space>:90:1: note: expanded from here
90 | _FP_PACK_CANONICAL_T_e
| ^
2 warnings generated.
--
>> arch/powerpc/math-emu/fsqrt.c:38:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used [-Wunused-but-set-variable]
38 | __FP_PACK_D(frD, R);
| ^
arch/powerpc/include/asm/sfp-machine.h:176:2: note: expanded from macro '__FP_PACK_D'
176 | _FP_PACK_CANONICAL(D, 2, X); \
| ^
include/math-emu/op-common.h:145:6: note: expanded from macro '_FP_PACK_CANONICAL'
145 | FP_DECL_##fs(_FP_PACK_CANONICAL_T); \
| ^
<scratch space>:19:1: note: expanded from here
19 | FP_DECL_D
| ^
include/math-emu/double.h:73:23: note: expanded from macro 'FP_DECL_D'
73 | #define FP_DECL_D(X) _FP_DECL(2,X)
| ^
include/math-emu/op-common.h:28:32: note: expanded from macro '_FP_DECL'
28 | _FP_I_TYPE X##_c=0, X##_s=0, X##_e=0; \
| ^
<scratch space>:22:1: note: expanded from here
22 | _FP_PACK_CANONICAL_T_e
| ^
1 warning generated.
vim +/_FP_PACK_CANONICAL_T_e +39 arch/powerpc/math-emu/fsqrts.c
^1da177e4c3f415 arch/ppc/math-emu/fsqrts.c Linus Torvalds 2005-04-16 38
d2b194ed820880e arch/powerpc/math-emu/fsqrts.c Kumar Gala 2008-06-04 @39 __FP_PACK_DS(frD, R);
:::::: The code at line 39 was first introduced by commit
:::::: d2b194ed820880eb19c43b9c10d9f5f30026ee54 powerpc/math-emu: Use kernel generic math-emu code
:::::: TO: Kumar Gala <galak@kernel.crashing.org>
:::::: CC: Kumar Gala <galak@kernel.crashing.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 20:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-23 20:46 arch/powerpc/math-emu/fsqrts.c:39:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.