* drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c:274 jpeg_v5_0_2_hw_fini() warn: inconsistent indenting
@ 2026-07-02 14:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-02 14:05 UTC (permalink / raw)
To: Sonny Jiang; +Cc: oe-kbuild-all, linux-kernel, Alex Deucher, Leo Liu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4a50a141f05a8d1737661b19ee22ff8455b94409
commit: 855e3e19f69c0133a98dfae3ec9d26089cd50e77 drm/amdgpu: Add JPEG_v5_0_2 IP block
date: 4 months ago
config: sparc-randconfig-r071-20260702 (https://download.01.org/0day-ci/archive/20260702/202607022154.oRgbWKS5-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.4.0
smatch: v0.5.0-9185-gbcc58b9c
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: 855e3e19f69c ("drm/amdgpu: Add JPEG_v5_0_2 IP block")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607022154.oRgbWKS5-lkp@intel.com/
smatch warnings:
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c:274 jpeg_v5_0_2_hw_fini() warn: inconsistent indenting
vim +274 drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c
259
260 /**
261 * jpeg_v5_0_2_hw_fini - stop the hardware block
262 *
263 * @ip_block: Pointer to the amdgpu_ip_block for this hw instance.
264 *
265 * Stop the JPEG block, mark ring as not ready any more
266 */
267 static int jpeg_v5_0_2_hw_fini(struct amdgpu_ip_block *ip_block)
268 {
269 struct amdgpu_device *adev = ip_block->adev;
270 int ret = 0;
271
272 cancel_delayed_work_sync(&adev->jpeg.idle_work);
273
> 274 if (adev->jpeg.cur_state != AMD_PG_STATE_GATE)
275 ret = jpeg_v5_0_2_set_powergating_state(ip_block, AMD_PG_STATE_GATE);
276
277 return ret;
278 }
279
--
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:[~2026-07-02 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:05 drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c:274 jpeg_v5_0_2_hw_fini() warn: inconsistent indenting 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
Powered by JetHome