Skip to contentSkip to conversation

drivers/spi/spi-amd.o: error: objtool: 1 warning(s) upgraded to errors

PATCH kernel test robot 1 participant 1 message Mar 16, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "only suspicious fbc files changed" ::::::

BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Josh Poimboeuf <[email protected]>
CC: Peter Zijlstra <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/core
head:   3ea93b53ecb339bb78a5eedbb51714a899640584
commit: 3ea93b53ecb339bb78a5eedbb51714a899640584 [13/13] objtool: Add CONFIG_OBJTOOL_WERROR

:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: x86_64-randconfig-071-20250316 (https://download.01.org/0day-ci/archive/20250316/[email protected]/config)
compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250316/[email protected]/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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

drivers/spi/spi-amd.o: error: objtool: amd_set_spi_freq() falls through to next function amd_spi_set_opcode()

   drivers/spi/spi-amd.o: error: objtool:   amd_set_spi_freq+0x55: (branch)
   drivers/spi/spi-amd.o: error: objtool:   amd_set_spi_freq+0x68: (branch)
   drivers/spi/spi-amd.o: error: objtool:   amd_set_spi_freq+0x3e: (branch)
   drivers/spi/spi-amd.o: error: objtool:   amd_set_spi_freq+0x0: <=== (sym)
>> drivers/spi/spi-amd.o: error: objtool: 1 warning(s) upgraded to errors

./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --stackval --static-call --uaccess --Werror --backtrace drivers/spi/spi-amd.o.orig -o drivers/spi/spi-amd.o

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki