drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c:332 dw_hdmi_cec_suspend() warn: inconsistent indenting
From: kernel test robot
Date: Thu Sep 21 2023 - 19:40:21 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 27bbf45eae9ca98877a2d52a92a188147cd61b07
commit: db1184e410744a680f92ca21e5acd5ae54510db8 drm: bridge: dw_hdmi: Add cec suspend/resume functions
date: 7 weeks ago
config: csky-randconfig-r071-20230917 (https://download.01.org/0day-ci/archive/20230922/202309220730.BHfIyHe1-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230922/202309220730.BHfIyHe1-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309220730.BHfIyHe1-lkp@xxxxxxxxx/
smatch warnings:
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c:332 dw_hdmi_cec_suspend() warn: inconsistent indenting
vim +332 drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c
326
327 static int __maybe_unused dw_hdmi_cec_suspend(struct device *dev)
328 {
329 struct dw_hdmi_cec *cec = dev_get_drvdata(dev);
330
331 /* store interrupt status/mask registers */
> 332 cec->regs_polarity = dw_hdmi_read(cec, HDMI_CEC_POLARITY);
333 cec->regs_mask = dw_hdmi_read(cec, HDMI_CEC_MASK);
334 cec->regs_mute_stat0 = dw_hdmi_read(cec, HDMI_IH_MUTE_CEC_STAT0);
335
336 return 0;
337 }
338
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki