lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 1 Aug 2021 13:06:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [dhowells-fs:fscache-iter 44/55] fs/fscache/stats.c:26:10: sparse:
 sparse: symbol 'fscache_n_updates_run' was not declared. Should it be
 static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-iter
head:   47585048b7ec10d66ca6c102b468b9b362910475
commit: ce79c5fa2e9f6851d4dcd82b91223abd9c4a7444 [44/55] fscache: Remove the update operation
config: i386-randconfig-s001-20210801 (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://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=ce79c5fa2e9f6851d4dcd82b91223abd9c4a7444
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs fscache-iter
        git checkout ce79c5fa2e9f6851d4dcd82b91223abd9c4a7444
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash fs/fscache/

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


sparse warnings: (new ones prefixed by >>)
>> fs/fscache/stats.c:26:10: sparse: sparse: symbol 'fscache_n_updates_run' was not declared. Should it be static?
>> fs/fscache/stats.c:51:10: sparse: sparse: symbol 'fscache_n_cop_update_object' was not declared. Should it be static?

vim +/fscache_n_updates_run +26 fs/fscache/stats.c

ef778e7ae67cd4 David Howells 2012-12-20  24  
7394daa8c61dfd David Howells 2009-04-03  25  atomic_t fscache_n_updates;
7394daa8c61dfd David Howells 2009-04-03 @26  atomic_t fscache_n_updates_run;
7394daa8c61dfd David Howells 2009-04-03  27  
7394daa8c61dfd David Howells 2009-04-03  28  atomic_t fscache_n_relinquishes;
2175bb06dc6cf2 David Howells 2009-11-19  29  atomic_t fscache_n_relinquishes_retire;
7394daa8c61dfd David Howells 2009-04-03  30  
28223b34fc1a39 David Howells 2020-02-06  31  atomic_t fscache_n_resizes;
28223b34fc1a39 David Howells 2020-02-06  32  atomic_t fscache_n_resizes_null;
28223b34fc1a39 David Howells 2020-02-06  33  
7394daa8c61dfd David Howells 2009-04-03  34  atomic_t fscache_n_cookie_index;
7394daa8c61dfd David Howells 2009-04-03  35  atomic_t fscache_n_cookie_data;
7394daa8c61dfd David Howells 2009-04-03  36  atomic_t fscache_n_cookie_special;
7394daa8c61dfd David Howells 2009-04-03  37  
7394daa8c61dfd David Howells 2009-04-03  38  atomic_t fscache_n_object_alloc;
7394daa8c61dfd David Howells 2009-04-03  39  atomic_t fscache_n_object_no_alloc;
7394daa8c61dfd David Howells 2009-04-03  40  atomic_t fscache_n_object_lookups;
7394daa8c61dfd David Howells 2009-04-03  41  atomic_t fscache_n_object_lookups_negative;
7394daa8c61dfd David Howells 2009-04-03  42  atomic_t fscache_n_object_lookups_positive;
6795af81c88855 David Howells 2020-02-06  43  atomic_t fscache_n_object_creates;
7394daa8c61dfd David Howells 2009-04-03  44  atomic_t fscache_n_object_avail;
7394daa8c61dfd David Howells 2009-04-03  45  atomic_t fscache_n_object_dead;
7394daa8c61dfd David Howells 2009-04-03  46  
52bd75fdb135d6 David Howells 2009-11-19  47  atomic_t fscache_n_cop_alloc_object;
52bd75fdb135d6 David Howells 2009-11-19  48  atomic_t fscache_n_cop_lookup_object;
6795af81c88855 David Howells 2020-02-06  49  atomic_t fscache_n_cop_create_object;
ef778e7ae67cd4 David Howells 2012-12-20  50  atomic_t fscache_n_cop_invalidate_object;
52bd75fdb135d6 David Howells 2009-11-19 @51  atomic_t fscache_n_cop_update_object;
52bd75fdb135d6 David Howells 2009-11-19  52  atomic_t fscache_n_cop_drop_object;
52bd75fdb135d6 David Howells 2009-11-19  53  atomic_t fscache_n_cop_put_object;
52bd75fdb135d6 David Howells 2009-11-19  54  atomic_t fscache_n_cop_sync_cache;
52bd75fdb135d6 David Howells 2009-11-19  55  atomic_t fscache_n_cop_attr_changed;
52bd75fdb135d6 David Howells 2009-11-19  56  

:::::: The code at line 26 was first introduced by commit
:::::: 7394daa8c61dfda4baa687f133748fa0b599b017 FS-Cache: Add use of /proc and presentation of statistics

:::::: TO: David Howells <dhowells@...hat.com>
:::::: CC: David Howells <dhowells@...hat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (40899 bytes)

Powered by blists - more mailing lists