Skip to contentSkip to conversation

drivers/clk/renesas/r9a06g032-clocks.c:1338 r9a06g032_reset_set() warn: inconsistent indenting

PATCH kernel test robot 1 participant 1 message Nov 27

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/n1d/enablement
head:   6ffd02f2e68f76bced1f3ccf135ffadbc62b57a0
commit: 6ffd02f2e68f76bced1f3ccf135ffadbc62b57a0 [11/11] DEBUG reset calls
config: m68k-randconfig-2200-20261127 (https://download.01.org/0day-ci/archive/20261127/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 9.5.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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

smatch warnings:
drivers/clk/renesas/r9a06g032-clocks.c:1338 r9a06g032_reset_set() warn: inconsistent indenting

vim +1338 drivers/clk/renesas/r9a06g032-clocks.c

1322
1323 static int r9a06g032_reset_set(struct reset_controller_dev *rcdev,
1324 bool set, unsigned long id)
1325 {
1326 struct r9a06g032_priv *priv = priv_from_rcdev(rcdev);
1327 unsigned long flags;
1328
1329 spin_lock_irqsave(&priv->lock, flags);
1330 clk_rdesc_set(priv, r9a06g032_resets[id], set);
1331 spin_unlock_irqrestore(&priv->lock, flags);
1332
1333 /*
1334 * Figure 7.3 and 7.4 in the RZN1 Introduction Manual recommends
1335 * a 5us delay for reset to propegate after assert or deassert
1336 */
1337 udelay(5);

> 1338	printk(KERN_INFO "****** wsa: %lu %u\n", id, set);

1339
1340 return 0;
1341 }
1342

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