public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Bean Huo <jackyard88@gmail.com>
Cc: kbuild-all@01.org, richard@nod.at, dedekind1@gmail.com,
	adrian.hunter@intel.com, computersforpeace@gmail.com,
	boris.brezillon@free-electrons.com, beanhuo@micron.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	zszubbocsev@micron.com, peterpandong@micron.com
Subject: Re: [PATCH v2 06/17] drivers:mtd:ubi:add bakvol function define in ubi layer
Date: Tue, 2 Feb 2016 11:05:12 +0800	[thread overview]
Message-ID: <201602021128.U56kLyVj%fengguang.wu@intel.com> (raw)
In-Reply-To: <1454380252-16170-7-git-send-email-jackyard88@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4856 bytes --]

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@linux.intel.com>
:::::: CC: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20303 bytes --]

  reply	other threads:[~2016-02-02  3:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02  2:30 [PATCH v2 00/17] Add a bakvol module in UBI layer for MLC paired page power loss issue Bean Huo
2016-02-02  2:30 ` [PATCH v2 01/17] include:mtd:add multi-plane page program command Bean Huo
2016-02-02  2:30 ` [PATCH v2 02/17] include:mtd:add multi-plane program in mtd_info Bean Huo
2016-02-02  2:30 ` [PATCH v2 03/17] drivers:mtd:add dual plane page program support in partition layer Bean Huo
2016-02-02  3:00   ` kbuild test robot
2016-02-02  2:30 ` [PATCH v2 04/17] drivers:mtd:nand:enable dual plane page program function Bean Huo
2016-02-02  3:04   ` kbuild test robot
2016-02-02  2:30 ` [PATCH v2 05/17] drivers:mtd:ubi:add bakvol on-flash and RAM data structures Bean Huo
2016-02-02  2:30 ` [PATCH v2 06/17] drivers:mtd:ubi:add bakvol function define in ubi layer Bean Huo
2016-02-02  3:05   ` kbuild test robot [this message]
2016-02-02  3:08   ` kbuild test robot
2016-02-02  2:30 ` [PATCH v2 07/17] fs:ubifs:add bakvol function define in ubifs layer Bean Huo
2016-02-02  2:30 ` [PATCH v2 08/17] drivers:mtd:ubi:disable bakvol function while writing volume table Bean Huo
2016-02-02  2:30 ` [PATCH v2 09/17] drivers:mtd:ubi:get PEB according to specfied plane number Bean Huo
2016-02-02  2:30 ` [PATCH v2 10/17] drivers:mtd:ubi:enable bakvol function for fastmap operation Bean Huo
2016-02-02  2:30 ` [PATCH v2 11/17] drivers:mtd:ubi:add disable/enable bakvol while ubi write Bean Huo
2016-02-02  2:30 ` [PATCH v2 12/17] drivers:mtd:ubi:add disable bakvol while ubi detach Bean Huo
2016-02-02  2:30 ` [PATCH v2 13/17] drivers:mtd:ubi:add bakvol init while attach ubi Bean Huo
2016-02-02  2:30 ` [PATCH v2 14/17] drivers:mtd:ubi:add backup operation in ubi_io_write Bean Huo
2016-02-02  3:22   ` kbuild test robot
2016-02-02  2:30 ` [PATCH v2 15/17] fs:ubifs:enable bakvol module and recover operation Bean Huo
2016-02-02  2:30 ` [PATCH v2 16/17] driver:mtd:ubi:add new bakvol module in ubi layer Bean Huo
2016-02-02  2:30 ` [PATCH v2 17/17] drivers:mtd:ubi: Kconfig Makefile Bean Huo
2016-02-02  3:22   ` kbuild test robot
2016-02-02  3:56   ` kbuild test robot
2016-02-02  3:58   ` kbuild test robot
2016-02-02  4:15     ` Bean Huo 霍斌斌 (beanhuo)
2016-02-03  0:46       ` Brian Norris
2016-02-03  6:14         ` Bean Huo 霍斌斌 (beanhuo)
2016-02-02 23:06 ` [PATCH v2 00/17] Add a bakvol module in UBI layer for MLC paired page power loss issue Richard Weinberger
2016-02-03  6:11   ` Bean Huo 霍斌斌 (beanhuo)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201602021128.U56kLyVj%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=adrian.hunter@intel.com \
    --cc=beanhuo@micron.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=jackyard88@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=peterpandong@micron.com \
    --cc=richard@nod.at \
    --cc=zszubbocsev@micron.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox