Hi Krzysztof,

[auto build test ERROR on target/master -- if it's inappropriate base, please 
suggest rules for selecting the more suitable base]

url:    
https://github.com/0day-ci/linux/commits/Krzysztof-Opasiak/fs-configfs-Drop-unused-parameter-from-configfs_undepend_item/20151026-232656
config: i386-randconfig-s0-201543 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   fs/ocfs2/cluster/nodemanager.c: In function 'o2nm_undepend_item':
>> fs/ocfs2/cluster/nodemanager.c:899:25: warning: passing argument 1 of 
>> 'configfs_undepend_item' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
     configfs_undepend_item(&o2nm_cluster_group.cs_subsys, item);
                            ^
   In file included from fs/ocfs2/cluster/nodemanager.c:25:0:
   include/linux/configfs.h:259:6: note: expected 'struct config_item *' but 
argument is of type 'struct configfs_subsystem *'
    void configfs_undepend_item(struct config_item *target);
         ^
>> fs/ocfs2/cluster/nodemanager.c:899:2: error: too many arguments to function 
>> 'configfs_undepend_item'
     configfs_undepend_item(&o2nm_cluster_group.cs_subsys, item);
     ^
   In file included from fs/ocfs2/cluster/nodemanager.c:25:0:
   include/linux/configfs.h:259:6: note: declared here
    void configfs_undepend_item(struct config_item *target);
         ^

vim +/configfs_undepend_item +899 fs/ocfs2/cluster/nodemanager.c

14829422 Joel Becker 2007-06-14  893  {
14829422 Joel Becker 2007-06-14  894    return 
configfs_depend_item(&o2nm_cluster_group.cs_subsys, item);
14829422 Joel Becker 2007-06-14  895  }
14829422 Joel Becker 2007-06-14  896  
14829422 Joel Becker 2007-06-14  897  void o2nm_undepend_item(struct 
config_item *item)
14829422 Joel Becker 2007-06-14  898  {
14829422 Joel Becker 2007-06-14 @899    
configfs_undepend_item(&o2nm_cluster_group.cs_subsys, item);
14829422 Joel Becker 2007-06-14  900  }
14829422 Joel Becker 2007-06-14  901  
16c6a4f2 Joel Becker 2007-06-19  902  int o2nm_depend_this_node(void)

:::::: The code at line 899 was first introduced by commit
:::::: 14829422be6d6b6721f61b1e749acf5a9cb664d8 ocfs2: Depend on configfs 
heartbeat items.

:::::: TO: Joel Becker <joel.bec...@oracle.com>
:::::: CC: Mark Fasheh <mark.fas...@oracle.com>

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

Attachment: .config.gz
Description: Binary data

Reply via email to