tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git 
for-next
head:   68040817337fda98196974401391f2d1b9f87e49
commit: d69e2e7e28bd1d13ad2ac1f2e9ea6184567d1587 [5/8] dm btree: improve btree 
residency
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?id=d69e2e7e28bd1d13ad2ac1f2e9ea6184567d1587
        git remote add dm 
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
        git fetch --no-tags dm for-next
        git checkout d69e2e7e28bd1d13ad2ac1f2e9ea6184567d1587
        # save the attached .config to linux build tree
        make W=1 ARCH=um 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> drivers/md/persistent-data/dm-btree.c:702:5: warning: no previous prototype 
>> for 'shadow_child' [-Wmissing-prototypes]
     702 | int shadow_child(struct dm_btree_info *info, struct 
dm_btree_value_type *vt,
         |     ^~~~~~~~~~~~


vim +/shadow_child +702 drivers/md/persistent-data/dm-btree.c

   696  
   697  /*
   698   * We often need to modify a sibling node.  This function shadows a 
particular
   699   * child of the given parent node.  Making sure to update the parent to 
point
   700   * to the new shadow.
   701   */
 > 702  int shadow_child(struct dm_btree_info *info, struct dm_btree_value_type 
 > *vt,
   703                   struct btree_node *parent, unsigned index, struct 
dm_block **result)
   704  {
   705          int r, inc;
   706          dm_block_t root;
   707          struct btree_node *node;
   708  
   709          root = value64(parent, index);
   710  
   711          r = dm_tm_shadow_block(info->tm, root, &btree_node_validator,
   712                                 result, &inc);
   713          if (r)
   714                  return r;
   715  
   716          node = dm_block_data(*result);
   717  
   718          if (inc)
   719                  inc_children(info->tm, node, vt);
   720  
   721          *((__le64 *) value_ptr(parent, index)) =
   722                  cpu_to_le64(dm_block_location(*result));
   723  
   724          return 0;
   725  }
   726  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

Reply via email to