[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202011270227.lAHhIBLv-lkp@intel.com>
Date: Fri, 27 Nov 2020 02:44:39 +0800
From: kernel test robot <lkp@...el.com>
To: Willy Tarreau <w@....eu>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/mtd/tests/subpagetest.c:426:1: error: could not split insn
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fa02fcd94b0c8dff6cc65714510cf25ad194b90d
commit: 3744741adab6d9195551ce30e65e726c7a408421 random32: add noise from network and scheduling activity
date: 5 weeks ago
config: csky-randconfig-r011-20201127 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3744741adab6d9195551ce30e65e726c7a408421
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3744741adab6d9195551ce30e65e726c7a408421
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/mtd/tests/subpagetest.c: In function 'mtd_subpagetest_init':
>> drivers/mtd/tests/subpagetest.c:426:1: error: could not split insn
426 | }
| ^
(insn 453 2652 455 (set (reg/v:SI 3 a3 [orig:304 a ] [304])
(xor:SI (reg:SI 1 a1 [orig:717 net_rand_noise ] [717])
(const:SI (plus:SI (symbol_ref:SI ("*.LANCHOR0") [flags 0x182])
(const_int 12 [0xc]))))) "include/linux/prandom.h":66:4 152 {cskyv2_xorsi3}
(expr_list:REG_DEAD (reg:SI 1 a1 [orig:717 net_rand_noise ] [717])
(nil)))
during RTL pass: final
drivers/mtd/tests/subpagetest.c:426:1: internal compiler error: in final_scan_insn_1, at final.c:3074
0x510da0 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/rtl-error.c:108
0x503d22 final_scan_insn_1
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/final.c:3074
0x73f8bf final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/final.c:3153
0x73fbac final_1
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/final.c:2021
0x740618 rest_of_handle_final
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/final.c:4659
0x740618 execute
/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/final.c:4737
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
vim +426 drivers/mtd/tests/subpagetest.c
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 267
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 268 static int __init mtd_subpagetest_init(void)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 269 {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 270 int err = 0;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 271 uint32_t i;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 272 uint64_t tmp;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 273
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 274 printk(KERN_INFO "\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 275 printk(KERN_INFO "=================================================\n");
7406060e292c389 drivers/mtd/tests/mtd_subpagetest.c Wolfram Sang 2011-10-30 276
7406060e292c389 drivers/mtd/tests/mtd_subpagetest.c Wolfram Sang 2011-10-30 277 if (dev < 0) {
064a7694b534720 drivers/mtd/tests/mtd_subpagetest.c Masanari Iida 2012-11-09 278 pr_info("Please specify a valid mtd-device via module parameter\n");
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 279 pr_crit("CAREFUL: This test wipes all data on the specified MTD device!\n");
7406060e292c389 drivers/mtd/tests/mtd_subpagetest.c Wolfram Sang 2011-10-30 280 return -EINVAL;
7406060e292c389 drivers/mtd/tests/mtd_subpagetest.c Wolfram Sang 2011-10-30 281 }
7406060e292c389 drivers/mtd/tests/mtd_subpagetest.c Wolfram Sang 2011-10-30 282
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 283 pr_info("MTD device: %d\n", dev);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 284
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 285 mtd = get_mtd_device(NULL, dev);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 286 if (IS_ERR(mtd)) {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 287 err = PTR_ERR(mtd);
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 288 pr_err("error: cannot get MTD device\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 289 return err;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 290 }
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 291
818b97392932ac4 drivers/mtd/tests/subpagetest.c Huang Shijie 2013-09-25 292 if (!mtd_type_is_nand(mtd)) {
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 293 pr_info("this test requires NAND flash\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 294 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 295 }
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 296
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 297 subpgsize = mtd->writesize >> mtd->subpage_sft;
7b7e905ec2ec511 drivers/mtd/tests/mtd_subpagetest.c Roman Tereshonkov 2011-02-03 298 tmp = mtd->size;
7b7e905ec2ec511 drivers/mtd/tests/mtd_subpagetest.c Roman Tereshonkov 2011-02-03 299 do_div(tmp, mtd->erasesize);
7b7e905ec2ec511 drivers/mtd/tests/mtd_subpagetest.c Roman Tereshonkov 2011-02-03 300 ebcnt = tmp;
7b7e905ec2ec511 drivers/mtd/tests/mtd_subpagetest.c Roman Tereshonkov 2011-02-03 301 pgcnt = mtd->erasesize / mtd->writesize;
7b7e905ec2ec511 drivers/mtd/tests/mtd_subpagetest.c Roman Tereshonkov 2011-02-03 302
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 303 pr_info("MTD device size %llu, eraseblock size %u, "
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 304 "page size %u, subpage size %u, count of eraseblocks %u, "
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 305 "pages per eraseblock %u, OOB size %u\n",
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 306 (unsigned long long)mtd->size, mtd->erasesize,
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 307 mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 308
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 309 err = -ENOMEM;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 310 bufsize = subpgsize * 32;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 311 writebuf = kmalloc(bufsize, GFP_KERNEL);
33777e6676ca606 drivers/mtd/tests/mtd_subpagetest.c Brian Norris 2013-05-02 312 if (!writebuf)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 313 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 314 readbuf = kmalloc(bufsize, GFP_KERNEL);
33777e6676ca606 drivers/mtd/tests/mtd_subpagetest.c Brian Norris 2013-05-02 315 if (!readbuf)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 316 goto out;
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 317 bbt = kzalloc(ebcnt, GFP_KERNEL);
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 318 if (!bbt)
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 319 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 320
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 321 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 322 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 323 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 324
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 325 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 326 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 327 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 328
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 329 pr_info("writing whole device\n");
a312b78b0ad6abb drivers/mtd/tests/mtd_subpagetest.c Akinobu Mita 2013-02-27 330 prandom_seed_state(&rnd_state, 1);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 331 for (i = 0; i < ebcnt; ++i) {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 332 if (bbt[i])
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 333 continue;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 334 err = write_eraseblock(i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 335 if (unlikely(err))
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 336 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 337 if (i % 256 == 0)
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 338 pr_info("written up to eraseblock %u\n", i);
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 339
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 340 err = mtdtest_relax();
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 341 if (err)
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 342 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 343 }
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 344 pr_info("written %u eraseblocks\n", i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 345
a312b78b0ad6abb drivers/mtd/tests/mtd_subpagetest.c Akinobu Mita 2013-02-27 346 prandom_seed_state(&rnd_state, 1);
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 347 pr_info("verifying all eraseblocks\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 348 for (i = 0; i < ebcnt; ++i) {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 349 if (bbt[i])
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 350 continue;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 351 err = verify_eraseblock(i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 352 if (unlikely(err))
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 353 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 354 if (i % 256 == 0)
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 355 pr_info("verified up to eraseblock %u\n", i);
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 356
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 357 err = mtdtest_relax();
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 358 if (err)
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 359 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 360 }
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 361 pr_info("verified %u eraseblocks\n", i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 362
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 363 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 364 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 365 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 366
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 367 err = verify_all_eraseblocks_ff();
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 368 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 369 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 370
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 371 /* Write all eraseblocks */
a312b78b0ad6abb drivers/mtd/tests/mtd_subpagetest.c Akinobu Mita 2013-02-27 372 prandom_seed_state(&rnd_state, 3);
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 373 pr_info("writing whole device\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 374 for (i = 0; i < ebcnt; ++i) {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 375 if (bbt[i])
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 376 continue;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 377 err = write_eraseblock2(i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 378 if (unlikely(err))
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 379 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 380 if (i % 256 == 0)
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 381 pr_info("written up to eraseblock %u\n", i);
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 382
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 383 err = mtdtest_relax();
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 384 if (err)
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 385 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 386 }
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 387 pr_info("written %u eraseblocks\n", i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 388
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 389 /* Check all eraseblocks */
a312b78b0ad6abb drivers/mtd/tests/mtd_subpagetest.c Akinobu Mita 2013-02-27 390 prandom_seed_state(&rnd_state, 3);
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 391 pr_info("verifying all eraseblocks\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 392 for (i = 0; i < ebcnt; ++i) {
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 393 if (bbt[i])
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 394 continue;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 395 err = verify_eraseblock2(i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 396 if (unlikely(err))
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 397 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 398 if (i % 256 == 0)
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 399 pr_info("verified up to eraseblock %u\n", i);
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 400
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 401 err = mtdtest_relax();
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 402 if (err)
2a6a28e7922c07c drivers/mtd/tests/subpagetest.c Richard Weinberger 2015-03-29 403 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 404 }
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 405 pr_info("verified %u eraseblocks\n", i);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 406
725cd71c0245d1a drivers/mtd/tests/subpagetest.c Akinobu Mita 2013-08-03 407 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 408 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 409 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 410
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 411 err = verify_all_eraseblocks_ff();
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 412 if (err)
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 413 goto out;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 414
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 415 pr_info("finished with %d errors\n", errcnt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 416
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 417 out:
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 418 kfree(bbt);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 419 kfree(readbuf);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 420 kfree(writebuf);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 421 put_mtd_device(mtd);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 422 if (err)
cd66a2df7c29e51 drivers/mtd/tests/mtd_subpagetest.c Vikram Narayanan 2012-10-10 423 pr_info("error %d occurred\n", err);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 424 printk(KERN_INFO "=================================================\n");
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 425 return err;
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 @426 }
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 427 module_init(mtd_subpagetest_init);
bf60862a58f7cd8 drivers/mtd/tests/mtd_subpagetest.c Artem Bityutskiy 2008-12-08 428
:::::: The code at line 426 was first introduced by commit
:::::: bf60862a58f7cd881cfe86a3b2aceaea4a22b3b0 MTD: tests: add mtd_subpagetest
:::::: TO: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
:::::: CC: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (37337 bytes)
Powered by blists - more mailing lists