From: kbuild test robot <lkp@intel.com>
To: Nikolay Borisov <n.borisov.lkml@gmail.com>
Cc: kbuild-all@01.org, dsterba@suse.com, linux-btrfs@vger.kernel.org,
Nikolay Borisov <nborisov@suse.com>
Subject: Re: [PATCH 37/38] btrfs: Make get_extent_t take btrfs_inode
Date: Sat, 18 Feb 2017 01:26:20 +0800 [thread overview]
Message-ID: <201702180126.EtosEgxh%fengguang.wu@intel.com> (raw)
In-Reply-To: <1487342609-20652-38-git-send-email-nborisov@suse.com>
[-- Attachment #1: Type: text/plain, Size: 10038 bytes --]
Hi Nikolay,
[auto build test WARNING on next-20170217]
[cannot apply to btrfs/next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.10-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Nikolay-Borisov/More-btrfs_inode-cleanups/20170217-233314
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
fs/btrfs/tests/inode-tests.c: In function 'test_btrfs_get_extent':
>> fs/btrfs/tests/inode-tests.c:281:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, 0, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:296:2: warning: passing argument 1 of 'btrfs_drop_extent_cache' from incompatible pointer type
btrfs_drop_extent_cache(inode, 0, (u64)-1, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3222:6: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end,
^
fs/btrfs/tests/inode-tests.c:305:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, 0, (u64)-1, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:326:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:353:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:375:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:402:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:431:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:453:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:487:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:516:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:546:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:579:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:614:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3169:20: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *'
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode, struct page *page,
^
fs/btrfs/tests/inode-tests.c:648:7: warning: passing argument 1 of 'btrfs_get_extent' from incompatible pointer type
em = btrfs_get_extent(inode, NULL, 0, offset, sectorsize, 0);
^
vim +/btrfs_get_extent +281 fs/btrfs/tests/inode-tests.c
aaedb55b Josef Bacik 2013-10-11 265 if (!root->node) {
aaedb55b Josef Bacik 2013-10-11 266 test_msg("Couldn't allocate dummy buffer\n");
aaedb55b Josef Bacik 2013-10-11 267 goto out;
aaedb55b Josef Bacik 2013-10-11 268 }
aaedb55b Josef Bacik 2013-10-11 269
aaedb55b Josef Bacik 2013-10-11 270 /*
aaedb55b Josef Bacik 2013-10-11 271 * We will just free a dummy node if it's ref count is 2 so we need an
01327610 Nicholas D Steeves 2016-05-19 272 * extra ref so our searches don't accidentally release our page.
aaedb55b Josef Bacik 2013-10-11 273 */
aaedb55b Josef Bacik 2013-10-11 274 extent_buffer_get(root->node);
aaedb55b Josef Bacik 2013-10-11 275 btrfs_set_header_nritems(root->node, 0);
aaedb55b Josef Bacik 2013-10-11 276 btrfs_set_header_level(root->node, 0);
aaedb55b Josef Bacik 2013-10-11 277 ret = -EINVAL;
aaedb55b Josef Bacik 2013-10-11 278
aaedb55b Josef Bacik 2013-10-11 279 /* First with no extents */
aaedb55b Josef Bacik 2013-10-11 280 BTRFS_I(inode)->root = root;
b9ef22de Feifei Xu 2016-06-01 @281 em = btrfs_get_extent(inode, NULL, 0, 0, sectorsize, 0);
aaedb55b Josef Bacik 2013-10-11 282 if (IS_ERR(em)) {
aaedb55b Josef Bacik 2013-10-11 283 em = NULL;
aaedb55b Josef Bacik 2013-10-11 284 test_msg("Got an error when we shouldn't have\n");
aaedb55b Josef Bacik 2013-10-11 285 goto out;
aaedb55b Josef Bacik 2013-10-11 286 }
aaedb55b Josef Bacik 2013-10-11 287 if (em->block_start != EXTENT_MAP_HOLE) {
aaedb55b Josef Bacik 2013-10-11 288 test_msg("Expected a hole, got %llu\n", em->block_start);
aaedb55b Josef Bacik 2013-10-11 289 goto out;
:::::: The code at line 281 was first introduced by commit
:::::: b9ef22dedde08ab1b4ccd5f53344984c4dcb89f4 Btrfs: self-tests: Support non-4k page size
:::::: TO: Feifei Xu <xufeifei@linux.vnet.ibm.com>
:::::: CC: David Sterba <dsterba@suse.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/gzip, Size: 48835 bytes --]
next prev parent reply other threads:[~2017-02-17 17:26 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 14:42 [PATCH 00/38] More btrfs_inode cleanups Nikolay Borisov
2017-02-17 14:42 ` [PATCH 01/38] btrfs: Make btrfs_log_all_parents take btrfs_inode Nikolay Borisov
2017-02-17 14:42 ` [PATCH 02/38] btrfs: Make btrfs_insert_dir_item " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 03/38] btrfs: make btrfs_set_inode_index_count " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 04/38] btrfs: Make btrfs_set_inode_index " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 05/38] btrfs: Make btrfs_i_size_write " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 06/38] btrfs: make btrfs_is_free_space_inode " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 07/38] btrfs: make btrfs_alloc_data_chunk_ondemand " Nikolay Borisov
2017-02-17 14:42 ` [PATCH 08/38] btrfs: Make drop_outstanding_extent " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 09/38] btrfs: Make calc_csum_metadata_size " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 10/38] btrfs: Make btrfs_orphan_reserve_metadata " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 11/38] btrfs: Make btrfs_orphan_release_metadata " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 12/38] btrfs: Make btrfs_delalloc_reserve_metadata " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 13/38] btrfs: ale btrfs_delalloc_release_metadata " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 14/38] btrfs: Make (__)btrfs_add_inode_defrag " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 15/38] btrfs: Make btrfs_requeue_inode_defrag " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 16/38] btrfs: Make btrfs_drop_extent_cache " Nikolay Borisov
2017-02-17 16:47 ` kbuild test robot
2017-02-17 17:03 ` kbuild test robot
2017-02-17 14:43 ` [PATCH 17/38] btrfs: Make hole_mergeable " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 18/38] btrfs: Make fille_holes " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 19/38] btrfs: Make btrfs_mark_extent_written " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 20/38] btrfs: Make btrfs_lookup_ordered_range " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 21/38] btrfs: Make check_can_nocow " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 22/38] btrfs: Make lock_and_cleanup_extent_if_need " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 23/38] btrfs: make free_io_failure " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 24/38] btrfs: make btrfs_print_data_csum_error " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 25/38] btrfs: make check_compressed_csum " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 26/38] btrfs: make repair_io_failure " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 27/38] btrfs: make clean_io_failure " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 28/38] btrfs: make btrfs_free_io_failure_record " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 29/38] btrfs: make btrfs_orphan_del " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 30/38] btrfs: Make btrfs_orphan_add " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 31/38] btrfs: Make check_parent_dirs_for_sync " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 32/38] btrfs: make btrfs_log_inode_parent " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 33/38] btrfs: Make btrfs_extent_item_to_extent_map " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 34/38] btrfs: Make btrfs_clear_bit_hook " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 35/38] btrfs: Make clone_update_extent_map " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 36/38] btrfs: Make check_extent_to_block " Nikolay Borisov
2017-02-17 14:43 ` [PATCH 37/38] btrfs: Make get_extent_t " Nikolay Borisov
2017-02-17 17:14 ` kbuild test robot
2017-02-17 17:26 ` kbuild test robot [this message]
2017-02-17 14:43 ` [PATCH 38/38] btrfs: Make btrfs_del_delalloc_inode " Nikolay Borisov
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=201702180126.EtosEgxh%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=dsterba@suse.com \
--cc=kbuild-all@01.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=n.borisov.lkml@gmail.com \
--cc=nborisov@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.