[Cluster-devel] [gfs2:for-next.glock-refcount 4/6] fs/gfs2/lops.c:873:34: sparse: symbol 'gfs2_buf_lops' was not declared. Should it be static?

kbuild test robot lkp at intel.com
Mon Apr 8 16:42:39 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.glock-refcount
head:   047f2ad3806d5222110184ae156cb83e6f603eca
commit: 159238adb2acaf65a290da8f218ded616dc77e16 [4/6] gfs2: Remove unnecessary extern declarations
reproduce:
        # apt-get install sparse
        git checkout 159238adb2acaf65a290da8f218ded616dc77e16
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

   include/linux/bvec.h:166:22: sparse: expression using sizeof(void)
   include/linux/bvec.h:166:22: sparse: expression using sizeof(void)
>> fs/gfs2/lops.c:873:34: sparse: symbol 'gfs2_buf_lops' was not declared. Should it be static?
>> fs/gfs2/lops.c:882:34: sparse: symbol 'gfs2_revoke_lops' was not declared. Should it be static?
>> fs/gfs2/lops.c:891:34: sparse: symbol 'gfs2_databuf_lops' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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




More information about the Cluster-devel mailing list