drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_0_ppt.c:649 smu_v15_0_common_get_dpm_freq_by_index() warn: inconsistent indenting

kernel test robot <[email protected]> Sun, 26 Jul 2026 16:16:44 +0800
Newsgroups dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0ce37745d4bfbc493f718169c3974898ffec8ee7
commit: c7fc0f372374cf463be2ba4b5b21c20c3c051bb6 drm/amd: Enable SMU 15_0_0 support
date:   7 months ago
config: x86_64-randconfig-161-20260723 (https://download.01.org/0day-ci/archive/20260726/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9187-g5189e3fb

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: c7fc0f372374 ("drm/amd: Enable SMU 15_0_0 support")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

smatch warnings:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_0_ppt.c:649 smu_v15_0_common_get_dpm_freq_by_index() warn: inconsistent indenting

vim +649 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_0_ppt.c

   641	
   642	static int smu_v15_0_common_get_dpm_freq_by_index(struct smu_context *smu,
   643							enum smu_clk_type clk_type,
   644							uint32_t dpm_level,
   645							uint32_t *freq)
   646	{
   647			smu_v15_0_0_get_dpm_freq_by_index(smu, clk_type, dpm_level, freq);
   648	
 > 649		return 0;
   650	}
   651	

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