lkml.org 
[lkml]   [2021]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[allisonhenderson-xfs_work:delayed_attrs_v21_extended 39/62] fs/xfs/xfs_attr_item.c:292:1: sparse: sparse: symbol 'xfs_trans_attr_finish_update' was not declared. Should it be static?
tree:   https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v21_extended
head: 1a71ced599b41e7ee9f0ea02427b76c30f71f7dd
commit: ba1114fc490c84643980a816cfc54ae8f5da1dd3 [39/62] xfs: Implement attr logging and replay
config: x86_64-randconfig-s021-20210718 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://github.com/allisonhenderson/xfs_work/commit/ba1114fc490c84643980a816cfc54ae8f5da1dd3
git remote add allisonhenderson-xfs_work https://github.com/allisonhenderson/xfs_work.git
git fetch --no-tags allisonhenderson-xfs_work delayed_attrs_v21_extended
git checkout ba1114fc490c84643980a816cfc54ae8f5da1dd3
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> fs/xfs/xfs_attr_item.c:292:1: sparse: sparse: symbol 'xfs_trans_attr_finish_update' was not declared. Should it be static?
>> fs/xfs/xfs_attr_item.c:496:27: sparse: sparse: symbol 'xfs_trans_get_attrd' was not declared. Should it be static?
>> fs/xfs/xfs_attr_item.c:608:30: sparse: sparse: Using plain integer as NULL pointer
fs/xfs/xfs_attr_item.c: note: in included file:
fs/xfs/xfs_log.h:34:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be32 [usertype] oh_len @@ got int len @@
fs/xfs/xfs_log.h:34:21: sparse: expected restricted __be32 [usertype] oh_len
fs/xfs/xfs_log.h:34:21: sparse: got int len
fs/xfs/xfs_log.h:34:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be32 [usertype] oh_len @@ got int len @@
fs/xfs/xfs_log.h:34:21: sparse: expected restricted __be32 [usertype] oh_len
fs/xfs/xfs_log.h:34:21: sparse: got int len
fs/xfs/xfs_log.h:34:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be32 [usertype] oh_len @@ got int len @@
fs/xfs/xfs_log.h:34:21: sparse: expected restricted __be32 [usertype] oh_len
fs/xfs/xfs_log.h:34:21: sparse: got int len
fs/xfs/xfs_log.h:34:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be32 [usertype] oh_len @@ got int len @@
fs/xfs/xfs_log.h:34:21: sparse: expected restricted __be32 [usertype] oh_len
fs/xfs/xfs_log.h:34:21: sparse: got int len

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-07-19 05:46    [W:0.036 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site