Re: [PATCH v2 06/17] drivers:mtd:ubi:add bakvol function define in ubi layer

From: kbuild test robot
Date: Mon Feb 01 2016 - 22:10:08 EST


Hi Bean,

[auto build test ERROR on v4.5-rc2]
[also build test ERROR on next-20160201]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Bean-Huo/Add-a-bakvol-module-in-UBI-layer-for-MLC-paired-page-power-loss-issue/20160202-104450
config: x86_64-randconfig-x018-201605 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Bean-Huo/Add-a-bakvol-module-in-UBI-layer-for-MLC-paired-page-power-loss-issue/20160202-104450 HEAD 2078d3920abf1d89be7eaf087100b4482dd532dc builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/mtd/ubi/fastmap.c: In function 'ubi_write_fastmap':
>> drivers/mtd/ubi/fastmap.c:1315:9: error: too few arguments to function 'ubi_io_write'
ret = ubi_io_write(ubi, fm_raw + (i * ubi->leb_size),
^
In file included from drivers/mtd/ubi/fastmap.c:18:0:
drivers/mtd/ubi/ubi.h:883:5: note: declared here
int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
^

vim +/ubi_io_write +1315 drivers/mtd/ubi/fastmap.c

dbb7d2a88 Richard Weinberger 2012-09-26 1309 new_fm->e[i]->pnum);
dbb7d2a88 Richard Weinberger 2012-09-26 1310 goto out_kfree;
dbb7d2a88 Richard Weinberger 2012-09-26 1311 }
dbb7d2a88 Richard Weinberger 2012-09-26 1312 }
dbb7d2a88 Richard Weinberger 2012-09-26 1313
dbb7d2a88 Richard Weinberger 2012-09-26 1314 for (i = 0; i < new_fm->used_blocks; i++) {
dbb7d2a88 Richard Weinberger 2012-09-26 @1315 ret = ubi_io_write(ubi, fm_raw + (i * ubi->leb_size),
dbb7d2a88 Richard Weinberger 2012-09-26 1316 new_fm->e[i]->pnum, ubi->leb_start, ubi->leb_size);
dbb7d2a88 Richard Weinberger 2012-09-26 1317 if (ret) {
326087033 Tanya Brokhman 2014-10-20 1318 ubi_err(ubi, "unable to write fastmap to PEB %i!",

:::::: The code at line 1315 was first introduced by commit
:::::: dbb7d2a88d2a7bd3624e090bee42cdee048d9290 UBI: Add fastmap core

:::::: TO: Richard Weinberger <richard@xxxxxx>
:::::: CC: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data