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:06:56 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-x012-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/eba.c: In function 'recover_peb':
>> drivers/mtd/ubi/eba.c:607:8: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, ubi->peb_buf, new_pnum, 0, data_size);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
drivers/mtd/ubi/eba.c: In function 'ubi_eba_write_leb':
drivers/mtd/ubi/eba.c:678:9: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, buf, pnum, offset, len);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
drivers/mtd/ubi/eba.c:729:9: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, buf, pnum, offset, len);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
drivers/mtd/ubi/eba.c: In function 'ubi_eba_write_leb_st':
drivers/mtd/ubi/eba.c:851:8: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, buf, pnum, 0, len);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
drivers/mtd/ubi/eba.c: In function 'ubi_eba_atomic_leb_change':
drivers/mtd/ubi/eba.c:971:8: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, buf, pnum, 0, len);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
drivers/mtd/ubi/eba.c: In function 'ubi_eba_copy_leb':
drivers/mtd/ubi/eba.c:1197:9: error: too few arguments to function 'ubi_io_write_data'
err = ubi_io_write_data(ubi, ubi->peb_buf, to, 0, aldata_size);
^
In file included from drivers/mtd/ubi/eba.c:47:0:
drivers/mtd/ubi/ubi.h:1073:19: note: declared here
static inline int ubi_io_write_data(struct ubi_device *ubi, const void *buf,
^
--
>> drivers/mtd/ubi/io.c:235:5: error: conflicting types for 'ubi_io_write'
int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
^
In file included from drivers/mtd/ubi/io.c:92:0:
drivers/mtd/ubi/ubi.h:883:5: note: previous declaration of 'ubi_io_write' was here
int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
^

vim +/ubi_io_write_data +607 drivers/mtd/ubi/eba.c

4df581f3 Artem Bityutskiy 2008-12-04 601 goto out_unlock;
801c135c Artem B. Bityutskiy 2006-06-27 602 }
8fb2a514 Richard Weinberger 2014-11-10 603 }
801c135c Artem B. Bityutskiy 2006-06-27 604
0ca39d74 Artem Bityutskiy 2012-03-08 605 memcpy(ubi->peb_buf + offset, buf, len);
801c135c Artem B. Bityutskiy 2006-06-27 606
0ca39d74 Artem Bityutskiy 2012-03-08 @607 err = ubi_io_write_data(ubi, ubi->peb_buf, new_pnum, 0, data_size);
4df581f3 Artem Bityutskiy 2008-12-04 608 if (err) {
4df581f3 Artem Bityutskiy 2008-12-04 609 mutex_unlock(&ubi->buf_mutex);
111ab0b2 Richard Weinberger 2014-11-10 610 up_read(&ubi->fm_eba_sem);

:::::: The code at line 607 was first introduced by commit
:::::: 0ca39d74de8b269fb61eac11b75bd6c3fc887c28 UBI: rename peb_buf1 to peb_buf

:::::: TO: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
:::::: 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