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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202204192047.g1X4yydR-lkp@intel.com>
Date:   Tue, 19 Apr 2022 20:31:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Chris Redpath <chris.redpath@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Guenter Roeck <groeck@...omium.org>,
        Patrick Bellasi <patrick.bellasi@....com>
Subject: [jsarha:topic/cros-sof-v4.14-rebase 1455/9999]
 kernel/sched/fair.c:6738:1: sparse: sparse: symbol '__pcpu_scope_eenv_cache'
 was not declared. Should it be static?

tree:   https://github.com/jsarha/linux topic/cros-sof-v4.14-rebase
head:   18a233f3f676a98dde00947535d99ab1a54da340
commit: 0d2a194c54348734338a8be17f0860be327eb00d [1455/9999] ANDROID: sched/fair: re-factor energy_diff to use a single (extensible) energy_env
config: i386-randconfig-s002-20220418 (https://download.01.org/0day-ci/archive/20220419/202204192047.g1X4yydR-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/jsarha/linux/commit/0d2a194c54348734338a8be17f0860be327eb00d
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/cros-sof-v4.14-rebase
        git checkout 0d2a194c54348734338a8be17f0860be327eb00d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash kernel/sched/

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 >>)
   kernel/sched/fair.c: note: in included file:
   kernel/sched/sched.h:1106:47: sparse: sparse: duplicate const
   kernel/sched/fair.c:56:14: sparse: sparse: symbol 'normalized_sysctl_sched_latency' was not declared. Should it be static?
   kernel/sched/fair.c:86:14: sparse: sparse: symbol 'normalized_sysctl_sched_min_granularity' was not declared. Should it be static?
   kernel/sched/fair.c:109:14: sparse: sparse: symbol 'normalized_sysctl_sched_wakeup_granularity' was not declared. Should it be static?
   kernel/sched/fair.c:143:14: sparse: sparse: symbol 'capacity_margin' was not declared. Should it be static?
   kernel/sched/fair.c:3547:6: sparse: sparse: symbol 'sync_entity_load_avg' was not declared. Should it be static?
   kernel/sched/fair.c:3560:6: sparse: sparse: symbol 'remove_entity_load_avg' was not declared. Should it be static?
   kernel/sched/fair.c:9606:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:9606:22: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:9606:22: sparse:    struct sched_domain *
   kernel/sched/fair.c:9618:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:9618:9: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:9618:9: sparse:    struct sched_domain *
   kernel/sched/fair.c:5108:1: sparse: sparse: symbol '__pcpu_scope_load_balance_mask' was not declared. Should it be static?
   kernel/sched/fair.c:5109:1: sparse: sparse: symbol '__pcpu_scope_select_idle_mask' was not declared. Should it be static?
   kernel/sched/fair.c:5495:15: sparse: sparse: symbol 'capacity_curr_of' was not declared. Should it be static?
   kernel/sched/fair.c:5812:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:5812:22: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:5812:22: sparse:    struct sched_domain *
   kernel/sched/fair.c:5816:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:5816:17: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:5816:17: sparse:    struct sched_domain *
   kernel/sched/fair.c:6133:1: sparse: sparse: symbol 'boosted_cpu_util' was not declared. Should it be static?
   kernel/sched/fair.c:6531:19: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6531:19: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6531:19: sparse:    struct sched_domain *
>> kernel/sched/fair.c:6738:1: sparse: sparse: symbol '__pcpu_scope_eenv_cache' was not declared. Should it be static?
   kernel/sched/fair.c:6949:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6949:9: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6949:9: sparse:    struct sched_domain *
   kernel/sched/fair.c:9728:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:9728:9: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:9728:9: sparse:    struct sched_domain *
   kernel/sched/fair.c:9942:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:9942:9: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:9942:9: sparse:    struct sched_domain *
   kernel/sched/fair.c:4833:35: sparse: sparse: marked inline, but without a definition
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/fair.c:4950:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:4950:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:4950:14: sparse:    struct sched_domain *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/fair.c:6409:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6409:15: sparse:    struct sched_domain_shared [noderef] <asn:4> *
   kernel/sched/fair.c:6409:15: sparse:    struct sched_domain_shared *
   kernel/sched/fair.c:6400:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6400:15: sparse:    struct sched_domain_shared [noderef] <asn:4> *
   kernel/sched/fair.c:6400:15: sparse:    struct sched_domain_shared *
   kernel/sched/fair.c:6409:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6409:15: sparse:    struct sched_domain_shared [noderef] <asn:4> *
   kernel/sched/fair.c:6409:15: sparse:    struct sched_domain_shared *
   kernel/sched/fair.c:6400:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6400:15: sparse:    struct sched_domain_shared [noderef] <asn:4> *
   kernel/sched/fair.c:6400:15: sparse:    struct sched_domain_shared *
   kernel/sched/fair.c:6589:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6589:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6589:14: sparse:    struct sched_domain *
   kernel/sched/fair.c:6620:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6620:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6620:14: sparse:    struct sched_domain *
   kernel/sched/fair.c:5880:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:5880:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:5880:14: sparse:    struct sched_domain *
   kernel/sched/fair.c:6881:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6881:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6881:14: sparse:    struct sched_domain *
   kernel/sched/fair.c:6381:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:6381:17: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:6381:17: sparse:    struct sched_domain *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/fair.c:9778:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:9778:16: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:9778:16: sparse:    struct sched_domain *
   kernel/sched/fair.c:4950:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/fair.c:4950:14: sparse:    struct sched_domain [noderef] <asn:4> *
   kernel/sched/fair.c:4950:14: sparse:    struct sched_domain *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   kernel/sched/sched.h:2127:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data [noderef] <asn:4> *
   kernel/sched/sched.h:2127:16: sparse:    struct update_util_data *
   In file included from kernel/sched/fair.c:25:0:
   include/linux/sched/topology.h:196:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
    const struct sched_group_energy * const(*sched_domain_energy_f)(int cpu);
    ^~~~~
   In file included from kernel/sched/fair.c:39:0:
   kernel/sched/sched.h:1106:34: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
     const struct sched_group_energy const *sge;
                                     ^~~~~

Please review and possibly fold the followup patch.

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ