oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [broonie-spi:for-6.6 14/42] drivers/spi/spi-amd.o: warning: objtool: amd_spi_host_transfer() falls through to next function __cfi_amd_spi_max_transfer_size()
@ 2023-08-11 21:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-11 21:35 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

CC: linux-spi@vger.kernel.org
TO: Yang Yingliang <yangyingliang@huawei.com>
CC: Mark Brown <broonie@kernel.org>

Hi Yang,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-6.6
head:   ddaec4e44d4e2a556b51159d48788a85ff67179d
commit: e9759d403baaeda9ea4d61d64c3151e214561217 [14/42] spi: amd: switch to use modern name
config: x86_64-randconfig-x006-20230812 (https://download.01.org/0day-ci/archive/20230812/202308120546.csT3g5y0-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120546.csT3g5y0-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308120546.csT3g5y0-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/spi/spi-amd.c:401:21: warning: cast to smaller integer type 'enum amd_spi_versions' from 'const void *' [-Wvoid-pointer-to-enum-cast]
           amd_spi->version = (enum amd_spi_versions) device_get_match_data(dev);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.
>> drivers/spi/spi-amd.o: warning: objtool: amd_spi_host_transfer() falls through to next function __cfi_amd_spi_max_transfer_size()

-- 
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:[~2023-08-11 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 21:35 [broonie-spi:for-6.6 14/42] drivers/spi/spi-amd.o: warning: objtool: amd_spi_host_transfer() falls through to next function __cfi_amd_spi_max_transfer_size() 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).