drivers/gpu/drm/nouveau/include/nvkm/core/layout.h:2 nvkm_device_ctor() warn: inconsistent indenting

From: kernel test robot
Date: Sun Dec 03 2023 - 01:33:54 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 815fb87b753055df2d9e50f6cd80eb10235fe3e9
commit: 727fd72f2402afe7cc320844b0aef165f7eb544e drm/nouveau/intr: add shared interrupt plumbing between pci/tegra
date: 1 year, 1 month ago
config: i386-randconfig-141-20231105 (https://download.01.org/0day-ci/archive/20231203/202312030532.hosaZ1px-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231203/202312030532.hosaZ1px-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/202312030532.hosaZ1px-lkp@xxxxxxxxx/

New smatch warnings:
drivers/gpu/drm/nouveau/include/nvkm/core/layout.h:2 nvkm_device_ctor() warn: inconsistent indenting

Old smatch warnings:
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c:3203 nvkm_device_ctor() warn: Function too hairy. No more merges.

vim +2 drivers/gpu/drm/nouveau/include/nvkm/core/layout.h

9b70cd54a13e62 Ben Skeggs 2020-12-04 @2 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci)
e07f50d3558a83 Ben Skeggs 2020-12-04 3 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VBIOS , struct nvkm_bios , bios)
4a34fd0e88d8e1 Ben Skeggs 2020-12-04 4 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_DEVINIT , struct nvkm_devinit , devinit)
601c2a06d2a6e1 Ben Skeggs 2020-12-04 5 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_TOP , struct nvkm_top , top)
26fbb4c8c7c3ee Ben Skeggs 2021-01-16 6 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PRIVRING, struct nvkm_subdev , privring)
01055c01ba435c Ben Skeggs 2020-12-04 7 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
c6ce0861fe71fe Ben Skeggs 2020-12-04 8 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_I2C , struct nvkm_i2c , i2c)
8d056d9987e3fb Ben Skeggs 2020-12-04 9 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FUSE , struct nvkm_fuse , fuse)
0a7bff10aed623 Ben Skeggs 2020-12-04 10 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MXM , struct nvkm_subdev , mxm)
1fc2fddfbc8c69 Ben Skeggs 2020-12-04 11 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MC , struct nvkm_mc , mc)
d37766e560c9a8 Ben Skeggs 2020-12-04 12 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_BUS , struct nvkm_bus , bus)
9aad54d5c7ae9c Ben Skeggs 2020-12-04 13 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_TIMER , struct nvkm_timer , timer)
d9691a2245dbad Ben Skeggs 2020-12-04 14 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_INSTMEM , struct nvkm_instmem , imem)
b7a9369ae6f2da Ben Skeggs 2020-12-04 15 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FB , struct nvkm_fb , fb)
0afc1c4caa001e Ben Skeggs 2020-12-04 16 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_LTC , struct nvkm_ltc , ltc)
6dd123ba8a8be7 Ben Skeggs 2020-12-04 17 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_MMU , struct nvkm_mmu , mmu)
917b24a3c79bde Ben Skeggs 2020-12-04 18 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_BAR , struct nvkm_bar , bar)
77689f1b6b0a99 Ben Skeggs 2020-12-04 19 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FAULT , struct nvkm_fault , fault)
c288b4de94a874 Ben Skeggs 2020-12-02 20 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_ACR , struct nvkm_acr , acr)
e4b15b4ca08198 Ben Skeggs 2020-12-04 21 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PMU , struct nvkm_pmu , pmu)
d07be5d788624a Ben Skeggs 2020-12-04 22 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VOLT , struct nvkm_volt , volt)
4dea1a9609d156 Ben Skeggs 2020-12-04 23 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_ICCSENSE, struct nvkm_iccsense, iccsense)
0aec69c76ec9e2 Ben Skeggs 2020-12-04 24 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_THERM , struct nvkm_therm , therm)
98fd7f83665a92 Ben Skeggs 2020-12-04 25 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_CLK , struct nvkm_clk , clk)
b240b21261c2a4 Ben Skeggs 2020-12-04 26 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GSP , struct nvkm_gsp , gsp)
18618fc6d1e359 Ben Skeggs 2021-02-08 27 NVKM_LAYOUT_INST(NVKM_SUBDEV_IOCTRL , struct nvkm_subdev , ioctrl, 3)
f6df392dddbb9e Ben Skeggs 2021-02-08 28 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FLA , struct nvkm_subdev , fla)
fcc08a7c0ded8c Ben Skeggs 2021-02-04 29

:::::: The code at line 2 was first introduced by commit
:::::: 9b70cd54a13e626ae830ab2972c1dadcd6347fb2 drm/nouveau/pci: switch to instanced constructor

:::::: TO: Ben Skeggs <bskeggs@xxxxxxxxxx>
:::::: CC: Ben Skeggs <bskeggs@xxxxxxxxxx>

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