From: kernel test robot <lkp@intel.com>
To: Matt Turner <mattst88@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Magnus Lindholm <linmag7@gmail.com>
Subject: arch/powerpc/math-emu/fsqrts.c:39:2: warning: variable '_FP_PACK_CANONICAL_T_e' set but not used
Date: Fri, 23 Oct 2026 22:46:44 +0200 [thread overview]
Message-ID: <202610232211.PH7EKsOW-lkp@intel.com> (raw)
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
reply other threads:[~2026-10-23 20:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610232211.PH7EKsOW-lkp@intel.com \
--to=lkp@intel.com \
--cc=linmag7@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.