* [powerpc:next-test 146/304] arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
@ 2020-12-16 12:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-16 12:27 UTC (permalink / raw)
To: Aneesh Kumar K.V
Cc: Sandipan Das, clang-built-linux, kbuild-all, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test
head: c15d1f9d03a0f4f68bf52dffdd541c8054e6de35
commit: 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 [146/304] powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.
config: powerpc-randconfig-r034-20201216 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 71601d2ac9954cb59c443cb3ae442cb106df35d4)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
git remote add powerpc https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
git fetch --no-tags powerpc next-test
git checkout 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' [-Werror,-Wunused-function]
static inline void update_current_thread_amr(u64 value)
^
>> arch/powerpc/mm/book3s64/pkeys.c:289:20: error: unused function 'update_current_thread_iamr' [-Werror,-Wunused-function]
static inline void update_current_thread_iamr(u64 value)
^
2 errors generated.
vim +/update_current_thread_amr +284 arch/powerpc/mm/book3s64/pkeys.c
283
> 284 static inline void update_current_thread_amr(u64 value)
285 {
286 current->thread.regs->amr = value;
287 }
288
> 289 static inline void update_current_thread_iamr(u64 value)
290 {
291 if (!likely(pkey_execute_disable_supported))
292 return;
293
294 current->thread.regs->iamr = value;
295 }
296
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42892 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-16 12:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 12:27 [powerpc:next-test 146/304] arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).