[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312080025.lkfHiW4A-lkp@intel.com>
Date: Fri, 8 Dec 2023 00:46:49 +0800
From: kernel test robot <lkp@...el.com>
To: Ondrej Zary <linux@...y.sk>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>
Subject: drivers/ata/pata_parport/frpw.c:210 frpw_test_pnp() warn:
inconsistent indenting
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: 72f2b0b2185099dce354c805009f591dda3ab73d drivers/block: Move PARIDE protocol modules to drivers/ata/pata_parport
date: 10 months ago
config: arm-randconfig-r071-20231130 (https://download.01.org/0day-ci/archive/20231208/202312080025.lkfHiW4A-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231208/202312080025.lkfHiW4A-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312080025.lkfHiW4A-lkp@intel.com/
smatch warnings:
drivers/ata/pata_parport/frpw.c:210 frpw_test_pnp() warn: inconsistent indenting
vim +210 drivers/ata/pata_parport/frpw.c
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 201
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 202 olddelay = pi->delay;
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 203 pi->delay = 10;
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 204
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 205 pi->saved_r0 = r0();
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 206 pi->saved_r2 = r2();
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 207
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 208 w2(4); w0(4); w2(6); w2(7);
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 209 a = r1() & 0xff; w2(4); b = r1() & 0xff;
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 @210 w2(0xc); w2(0xe); w2(4);
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 211
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 212 pi->delay = olddelay;
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 213 w0(pi->saved_r0);
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 214 w2(pi->saved_r2);
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 215
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 216 return ((~a&0x40) && (b&0x40));
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 217 }
^1da177e4c3f41 drivers/block/paride/frpw.c Linus Torvalds 2005-04-16 218
:::::: The code at line 210 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists