linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:645:5: warning: stack frame size of 3248 bytes in function 'amdgpu_ucode_init_bo'
@ 2021-04-29  8:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-29  8:11 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kbuild-all, clang-built-linux, linux-kernel, Nathan Chancellor,
	Kees Cook, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2426 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d72cd4ad4174cfd2257c426ad51e4f53bcfde9c9
commit: 97e4910232fa1f81e806aa60c25a0450276d99a2 linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
date:   7 weeks ago
config: powerpc64-randconfig-r001-20210428 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87fc97169e7901dfe56ca0da0d92da0c02d2ef48)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97e4910232fa1f81e806aa60c25a0450276d99a2
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 97e4910232fa1f81e806aa60c25a0450276d99a2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:645:5: warning: stack frame size of 3248 bytes in function 'amdgpu_ucode_init_bo' [-Wframe-larger-than=]
   int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
       ^
   1 warning generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LEDS_TRIGGER_DISK
   Depends on NEW_LEDS && LEDS_TRIGGERS && (IDE_GD_ATA || ATA
   Selected by
   - ADB_PMU_LED_DISK && MACINTOSH_DRIVERS && ADB_PMU_LED && LEDS_CLASS


vim +/amdgpu_ucode_init_bo +645 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c

c8963ea4ce1783 Rex Zhu 2018-10-09  644  
c8963ea4ce1783 Rex Zhu 2018-10-09 @645  int amdgpu_ucode_init_bo(struct amdgpu_device *adev)

:::::: The code at line 645 was first introduced by commit
:::::: c8963ea4ce1783034e1f9cf0d702fa490eb77836 drm/amdgpu: Split amdgpu_ucode_init/fini_bo into two functions

:::::: TO: Rex Zhu <Rex.Zhu@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

---
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: 29864 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-29  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  8:11 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:645:5: warning: stack frame size of 3248 bytes in function 'amdgpu_ucode_init_bo' 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